Tags

Cards (16)

  • Tags are markers in HTML documents that indicate a special type of coding that are used to specify document titles, itemized lists, create tables, and format texts, etc.
  • Elements are identified by tags in the text source.
  • The element name appears in the opening tag (also called a start tag) and again in the closing (or end) tag preceded by a slash.
  • The closing tag works something like an “off” switch for the element.
  • The tags added around content are referred to as the markup.
  • It is important to note that an element consists of both the content and its markup (the start and end tags).
  • Two Basic Types Of Tags
    • Paired Tags
    • Unpaired Tags
  • The first tag is referred to as the opening tag, and the second tag is referred to as the closing tag.
  • Paired Tags are a type of tag that has a companion. The first tag is referred to as the opening tag, and the second tag is referred to as the closing tag.
  • Unpaired Tags are tags are also known as stand alone tags that do not need a closing tag.
  • Unpaired Tags are also known as stand alone tags that do not need a closing tag.
  • 4 Types Of Tags
    • Structural Tags
    • Headings
    • Formatting Tags
    • Separator/Container Tags
  • Structural Tags are tags are mandatory and placed at the beginning and end of an HTML file.
  • Heading tags are the six levels of headings.
  • Formatting tags are tags that affect the appearance or style of the words or sentences.
  • Separator/Container Tags are tags that separate
    words and sentences on a page.