The Anatomy of HTML tags
HTML tags are made up of Angle Brackets (the greater than & less than symbols “<” & “>”). The “<>” tells the web browser that “this is an html tag.”
The most common tags used in HTML are given below:
<hr> tag:
hr stand for horizontal rule and is used to insert a horizontal rule or a thematic break in an HTML page to divide or separate document sections. This tag does not have a closing tag.
For Example:
<h1>Hello World</h1>
<hr>
<h2>Hello Friends</h2>
<hr>
<h3>How are you all</h3>
<hr>
Output:
Hello World
Hello Friends
How are you all
You can add attributes in tags such as changing the size of the line or divider. All the properties of tags are link as given below:
https://www.w3schools.com/tags/ref_attributes.asp
<center> tag:
This tag is a very useful tag in HTML. It is used to center align the text on our website.
All HTML tags and details are link as given below:
https://www.w3schools.com/tags/ref_byfunc.asp
Comments are the statement that are ignored by compiler.
TIP: Press ctrl+! to add a comment in HTML or select the line and press ctrl+/ to add a comment.
Deep & knowledgeable content.
ReplyDeleteGood job
ReplyDelete