Sign up now
to enroll in courses, follow best educators, interact with the community and track your progress.
HTML comments and <hr/> tag (in Hindi)
209 plays

In this lesson, we will discuss about how to add comments in our html file and about the horizontal rule tag.

Sourabh Adhikari
Hi guys, I am currently pursuing my engineering course. I love to code and to share my knowledge with others. Follow for more amazing course

Unacademy user
how we get value of G
The value of G is not measured by adding dimensions to some formula but it was calculated by a scientist named Henry Cavendish through an experiment using torsion balance

  2. 2 HTML Comments The browser does no The browser does not display comments. they help to document the HTML Used to add descriptions, reminders, and other notes.

  3. 3 HTML Comments Syntax: < Your comment goes here--> There is an exclamation point (!) in the opening tag, but not in the closing tag. Let us see an example..

  4. HTML Comments 4 first page - Notepad File Edit Format View Help Khtml> <head> title> paragraph page </title> </head> body> <p This is a paragraph </p> !- This is a comment we can add description of our code here and it won't be dispklayed in the browser. -- </body> </html>

  5. HTML Comments paragraph page This is a paragraph | file:///C:/Users/ASUS/C -1

  6. 6 HTML hr tag t draws a horizontal line. It is also called a Horizontal Rule in HTML. HTML <hr> tag is used to specify a paragraph-level thematic break in HTML document It is used when you abruptly change your topic in your HTML document.

  7. 7 HTML hr tag Syntax: <hr/> In HTML 4.01, the <hr> tag represents a horizontal rule while in HTML 5, it defines a thematic break. CSS is used in HTML5 instead of layout attributes In HTML <hr> tag need not to be closed whereas hr> tag must be properly closed in XHTML.

  8. HTML <hr /s tag 8 first page Notepad File Edit Format View Help <html> head> title paragraph page /title> </head> <body> <h2>HTML</h2> p>HTML is a language for describing web pages.</p> <hr/> <h2>HR Tag </h2> <p> HR tag is used to draw a horizontal line within the texts to sepate content.<p>

  9. HTML <hr /s tag paragraph page HTML HTML is a language for describing web pages. o l | file:///C/Users/ASUS/CUI HR Tag HR tag is used to draw a horizontal line within the texts to sepate content.

  10. Thank you If you liked the video, rate and share it with your friends and family.