Browser doesn’t display comments, but
they help documentation HTML and add descriptions, reminders, and their notes.
As I earlier discussed the some HTML coding in my previous blog post. Now I’m
show you how to insert comment separately from the above mentioned text or
paragraph.
Structure
- In the body section insert your sentence or paragraph in between the <p> opening and </p> closing tags.
- Then use the element <hr/> to insert the horizontal line to separate this paragraph or text.
- Now compose another paragraph i.e. comment on above paragraph in between <p> opening and </p>
- closing tags.
- Insert code element <! ˍ ˍ This is a commentˍ ˍ>
- Then close the body section with </body> closing tag.
Note:
- There is exclamation point (!) in the opening tag but not in the closing tag.
- <hr/> tag to create horizontal line.
Input/output
Below I show you the demonstration by
screenshot from my html platform. Input and output images will show you the
exactly the coding should be imply.
So I hope that the above discussion
will be useful to learn HTML and get back your interest into it.
No comments:
Post a Comment