HTML ELEMENT

Fazzey's world



HTML Element

  • Element are components within an HTML document that generally consist of at least one tag but can have two tags with optional content.
  • The HTML element is the form that have start tag to the end tag.

Syntax:

<tagname>Type some content here...</tagname>

The main elements of HTML:

  The <html> element.
 → The <head> element.
  The <title> element.
 → The <base> element.
  The <link> element.
 → The <meta> element. 


Example:

  
  <!DOCTYPE  html>
  <html 
  <head>  
  <title> HTML</title>  
  </head 
  <body>  
  <h1>This is my first web page</h1>  
  <h2> How it looks?</h2>  
  <p>It looks Nice!!!!!</p>  
  </body>  
  </html>


Output:





More topic in HTML

Our website uses cookies to enhance your experience. Learn More
Accept !

GocourseAI

close
send