HTML Element

Content in-between the angle brackets is called element it is the name of the tag.
Example: <tag> tag is element
HTML tag is the parent of all HTML tags total html content must enclose with in this tag it has two Childs.

1. Head Tag: 

Content in between the head tag never displays on web page but the effect will appears on web page.
Head Sub Tags
Title: Display content browser title bar.
Script: apply styles to the body content.

2.  Body Tag: 

To display content on web page it must enclose with in body tag.
<html>
<head>
<title>Elements</title>
</head>
<body >Welcome</body>

</html>

No comments:

Post a Comment