TOP CATEGORIES

×

What is a tag in HTML?

P

Prachi Bankar

A Tag in HTML

HTML tags are used to define the HTML elements that should appear on a web page & every web page contains HTML tags. The <html> element wraps all the content on the entire page and is sometimes known as the root element.

Including HTML and HTML5 almost 118 tags are available in HTML. The basic flow of HTML layout:

Basic HTML Syntax Layout

<!DOCTYPE>

<html>

   <head><title>Page Title</title></head> 

   <body>

      <article>

            <h1></h1><p></p> 

      </article>

      <aside></aside>

   </body>

</html>

Maximum HTML tags have paired tags means that <Start_Tag>......</End_tag>, in the end, the tag uses "/". And also some empty tags are available in HTML for example - <br />, <hr /> tag.

1 votes

Your Answer

Email: advertise@gdatamart.com

Donate: To Support US

© 2025 GDATAMART.COM (All Rights Reserved)