HTML tags, lists, tables related

Classification of HTML tags

HTML tags can be divided into the following categories:

  1. Title tag: used to define the title of the web page, divided into h1, h2, h3, h4, h5 and h6.

  2. Paragraph tag: used to define paragraphs of text, commonly used p tags.

  3. Link tag: used to define links, the commonly used one is the a tag.

  4. Image tag: used to define images, commonly used img tags.

  5. List tags: used to define ordered lists and unordered lists. Commonly used tags are ul, li and ol.

  6. Table tag: used to define tables. Commonly used tags include table, tr, th and td.

  7. Form tags: used to define form elements. Commonly used tags include input, textarea, select, and button.

  8. Style tag: used to define styles. Commonly used ones include style and link tags.

  9. Script tag: used to define scripts, commonly used script tags.

Here are some examples of common HTML tags: