HTML Tags List | HTML Lists Tutorial with WDH

HTML Lists


Document Structure

section is used to provide information about the document for use primarily by search engines and browsers.section. In HTML5, this is the only required tag other than the DOCTYPE declaration.section contains all the content of the web page.

Opening Tag Closing Tag Description
    Opens and closes an HTML document
    The first of two main sections of an HTML document. The
    The title of document. This element is nested inside the
    The second of two main sections of an HTML document. The

Content (Container) Tags

Opening Tag Closing Tag Description

to

 
to Headings. H1 is the main heading, H2 is secondary, etc.

 

 

Paragraph
 
  A container for a block of content
    A container for in-line content, such as content inside a paragraph.
    Gives the contained text emphasis (usually as italics).
    Makes the contained text bold.
    Link
  Ordered (numbered) list
  Unordered (bulleted) list
  •  
  List item, must be nested inside a list element such as a
  1. or
Comment. Anything between these tags is not displayed on the screen. This is useful for making notes to yourself or to others who may view the source code of the web page.

HTML5 Semantic Tags

HTML5 introduced several new tags called semantic tags. These tags were designed to communicate the function of blocks of content that were common on many web pages. Prior to HTML5, developers just used

tags for all blocks.

 

Opening Tag Closing Tag Description
    Contains introductory content for a page (e.g., a banner), or a section of a page.
    Contains navigation content, such as a website navigation menu.
    Contains the main content of the web page.
    Contains content that is tangentially related to the main content of the page (often this is presented in a sidebar).
    Contains the footer of a page, or of a section of a page. Typically the footer contains information about the content, such as the author and a copyright statement.

Empty (Non-Container) Tags

Tag Description