HTML TAGS you should know

HTML 5 LOGO
HTML 5
HTML 5 LOGO
HTML 5 LOGO

Below are the list of HTML tags you should know as a developer:

  1. Doctype
  2. Html
  3. Head
  4. Body
  5. Title
  6. H1 to H6
  7. Paragraph
  8. Div
  9. Image
  10. Video
  11. Audio
  12. Line break
  13. Horizontal line
  14. Span
  15. Anchor
  16. List
  17. Table
  18. Caption
  19. Form
  20. Button
  21. Select
  22. Navigation
  23. Bold
  24. Article
  25. Footer
  26. Italics
  27. Main
  28. Option
  29. Comment
  30. Style

Doctype:

The doctype declaration is the first line of code in an HTML file. It communicates to our website which version of HTML we are working in.

doctype html
doctype html tag
Html:

The HTML elements are written after our Doctype Declaration, and wrap all of our HTML code. It is sometimes known as the root element.

<html>
Head:

The Head Element is used to wrap around everything you want to include on the HTML page

Body:

The body tags contain all of the content that will appear on our webpage.

Title:

This sets the title of the page. The page title is used to describe the page when it is bookmarked.

<title> </title>
H1 to H6:

Paragraph:

This is where we store the paragraphs of information.

<p> </p>
Div:

It is used to wrap a section of content. A div element is used for block-level organization and styling of page elements.

Image:

The image tag is used to add image to our webpage.

Video: 

The video tag is used to add videos and clips to our webpage.

Audio:

The audio tag is used to add audio clips and music to our webpage.

Line break:

The line break tag is used to break a line in webpage.

<br>
Horizontal line:

The hr tag is used to add a horizontal line to a webpage.

<hr>

Span:

The span tag is used for inline organization and styling.

Anchor:

The anchor tag is used to link a webpage to another webpage.

List:

The li tag is used to place list items. They are 2 types: Ordered list and Unordered list.

Table:

The table tag is used to create a table in a web page.

Caption:

A caption tag defines a table caption.

Form:

The form tag is used to create HTML form for user’s input.

Button:

The button tag is used to add a clickable button on our webpage

<button> </button>
Select:

The select tag is used to create a drop-down list.

Navigation:

It defines a set of navigation links.

Bold:

Defines that a text should be bold.

<b> </b>
Article:

Footer:

The footer element represents a container for information that is usually located below the web page. It often contains the copyright information, author address, categories, etc.

Italics:
<i> </i>
Main:

It specifies the main content of a document.

Option:

Comment:

The comment is used to communicate to developers how our code/file is broken. The code would not be visible to the browers.

Style: 

The style tag is used to apply a simple style sheet to an HTML document.

 

 

Leave a Reply

Your email address will not be published. Required fields are marked *

You May Also Like