What is HTML tag - Yes Edu

Hot

Make Money

Saturday, 21 January 2017

What is HTML tag

What is HTML tag?
Tag is the keyword between the grater (<) sign and less then (>) sign.
For Example:
<h1>this is the heading tag </h1>
Explanation
Html tags come between the grater (<) sign and less then (>) sign. The first tag between the sign (<>) is the starting tag and the second tag with the slash (/) is the ending tag.
<Starting tag> content </Ending tag>
<!DOCTYPE html>
<html>

<head>
                                <title>This is my title</title> 
</head>
<body>

<h1>This is my First Heading</h1>

<p>This is my first paragraph.</p>

</body>
</html>

  1. The content between <html> and </html> define an HTML document
  2. The content between <head> and </head> deliver information about the document
  3. The content between <title> and </title> deliver a title for the document
  4. The content between <body> and </body> define the visible page content
  5. The content between <h1> and </h1> define a heading
  6. The content between <p> and </p> define a paragraph
  7. The  <!DOCTYPE html> declare the document type
Browser view

What is HTML tag




No comments:

Post a Comment

Post Top Ad

Your Ad Spot