how to use the Elements with Attributes

Introduction Today we will be learning about the elements. Opening tags say, “This is the beginning of a tag,” whereas the closing tag notifies the end of a tag. The text enclosed within the angle brackets describes the purpose of the tag. For instance,
, a tag that shows it is about heading and the level of the heading.

 
  • <html>, this is the opening tag for HTML
  • </html>, this is the closing tag for HTML
  • <head>, this is the opening tag for head
  • </head>, this is the closing tag for head
  • <title>, this tag is the opening tag for title
  • </title>, this tag is the closing tag for title
  • <body>, this tag is the opening tag for body
  • </body>, this tag is the closing tag for body
  • <p>, this is the opening tag for paragraph</p>, this is the closing tag for paragraph
  • <h1>, this is the opening tag for heading 1
  • </h1>, this is the closing tag for heading 1
  • <h2></h2>, <h3></h3>, <h4>,</h4></h4>,<h5></h5>,<h6></h6>
 
The head element often referred or called as the head of the page, contains information about the page. This head element contains a title for the webpage. The body element is often said to be the tag that opens the tag for the body. This tag encloses all the information that we see in the main browser window. It contains the opening and closing of the tag with all the data enclosed between it. So it is right to say that together and make the skeleton for the HTML document. They are the foundation that every web page that is built upon. You can see a title element inside the head element of the first web page.

represents the purpose of the tag, showing that the tag is about a paragraph. To understand the level as a concept, another example 

My First Webpage
Ebook Download
View all
Learn
View all