Wednesday, May 9, 2018

Web Programming Lessons - HTML - Elements

What is an Element in HTML?

The HTML Element is everything from the start tag to the end tag. HTML 5 has different kinds of HTML elements. let's study about that elements in this lessons.

EX : - <p>My first paragraph.</p>
            (element content is displayed in red color)

What is a Nested Html Element?

The content of an HTML element can be another element,when this happens it forms a nested element.

EX : - <head>
<title>ITGEEK</title>
</head>

  • <html>                  ➡     defines the whole document.
  • <body>                 ➡     defines the document body.
  • <h1>                     ➡     defines a heading.
  • <p>                       ➡     defines a paragraph.

No comments:

Post a Comment