CSS Comments

Dear Students, aaj ke is Lecture me hum janege CSS Comments ke bare main. Yani ke CSS main comments kaise karte hai. Or sath me comments kya hote hai. Types of CSS Comments aadi se related ye sare topic ham CSS Comments ke lecthure me cover karege.

Lectures Covering Topics

  • Introduction To CSS Comments In Hindi
  • What Is CSS Comments In Hindi
  • Types To CSS Comments In Hindi
  • Multi Lines CSS Comments In Hindi

Comment ka matlab hota hai tippani karna. Yani ki kisi special object ke liye kisi khas bat ka kahna eak comment kahlata hai. Real life main hum jab kisi khas person ke liye koi khas bat kahte hai.

To vah us khas bat ko kabhi nahi bhoolta hai. Kyonki vah bat uski importance ke liye boli gayi hai. Wo boli gayi eak khas bat jiske through hum sara moment yad rakhte hai vah comments kahalata hai.

Introduction To CSS Comments In Hindi

Jab hame CSS ki style sheet main koi method ya fir koi khas statements yad rakna ho. To hum uske liye comments ka use karte hai. Kisi program main hum kahi bhi comments likh sakte hai. kisi bhi style sheet main hum one more then comments likh sakte hai.

Comments kisi bhi language main hamare program ke statements ko samjhne ke liye likha jata hai. Hamara likha banaya hua webpage agar koi or bhi pade to aasani se vah us webpage ke code ko samjh sake. Kisi bhi chhote webpage ki style sheet ke coding dekh kar to hum sab us webpage ki style ko aasani se samjh sakte hai.

But agar webpage bahut he bada hua to aap pane code ko he dekha kar nahi samjh payege ki mene ye code kis tegs kis style ke liye likha tha. Aise me humare liye comments eak bahut kaam ke cheej ho sakte hai.

Sabse important bat yah bhi hai ki style sheet me hum comments me jo bhi likhte hai. Or jab hum webpage ko run karate hai wo display par najar nahi aata hai. To ab hum seekhenge ki exam main hume CSS Comments ko kaise explain karna hai.

What Is CSS Comments In Hindi

Student’s “CSS Comments language are used to provide information about lines of style”. Comments ka use hum style sheet ki readability ko badane ke liye karte hai.

Ye style sheet ko explain karte hai or CSS ko samjhne me hamari help karte hai. Comments ko hum delimiters /* example */ ke andar likhte hai. Jaise ki main aapko pahle bhi bata chukka hun ki program main hum kisi bhi jagah comments ko likh sakte hai.

But hum eak string constants & character constants, property ke sath kisi comments ko nahi likh sakte hai. Eak style sheet ke andar hum one more then comments ka bhi use kar sakte hai.

Types To CSS Comments In Hindi

CSS Comments yani ki language me comments two types ke hote hai.

  • Single line comments
  • Multi line comments

Ab neeche hum in comments ke bare me details me padege ke ye single line or multiline comments kya hote hai.

Single Line CSS Comments In Hindi

Single line comments ke help se hum sirf kisi eak line ke code ko he commented kar sakte hai. Yah comment double slash ( \\ ) se represent kiya jata hai.

Example of single line comments

Output

Aap neeche image main dekh sakte hai ki neeche green color show nahi ho rha hai. or sath he likha hua statements bhi show nahi ho rha hai. Yah hota hai single line CSS comments.

single line css comments in hindi'

Multi Line Line CSS Comments In Hindi

Multiple line comments ke help se hum eak sath one more then statements ke code ko he commented kar sakte hai. Yani ke eak sath bahut sari line ko commented kar sakte hai. Yah comment slash asterisk  (\* Example *\ ) se represent kiya jata hai.

Example of Multi lines comments

Output

Aap neeche image main dekh sakte hai ki neeche css comments ke andar likhi hui koi bhi style show nahi ho rha hai. or sath he likha hua statements bhi show nahi ho rha hai. Yah hota hai multi line CSS comments.

multi lines css commets in hindi

Related Lecture

Dear Students, main aasha karta hun ki aapko CSS Comments Ka Lecture padh kar samjh me aa gaya hoga ki CSS main comments kaise karte hai. Yadi aapako (CSS Comments) ke Lecture se related koi bhi problem hai to aap hume comment karke puch skte hai.

Share This Post On

About Author

Thakur Aman Singh

Hey, I am Aman Singh Tomar from Taj City Agra. Through This Blog I want to share my Knowledge with all of you. Read More >>

Leave a Reply

Your email address will not be published. Required fields are marked *