Flashcards › Technology & Coding › Web Development

HTML Tags

Common HTML elements and attributes for building web pages.

75 cardsGrades 6–8, Grades 9–12, College, Adult#HTML#web#tags

0 of 75 known
75 cards
  • <html>Tag
    The root element that wraps the whole page
  • <!DOCTYPE html>Tag
    Declares the page uses modern HTML5
  • <head>Tag
    Holds information about the page, not shown on screen
  • <title>Tag
    The page title shown in the browser tab
  • <meta>Tag
    Metadata about the page, like character set
  • <link>Tag
    Links to outside files such as stylesheets
  • <style>Tag
    Holds CSS written inside the page
  • <script>Tag
    Holds or loads JavaScript
  • <body>Tag
    The visible content of the page
  • <h1>Tag
    The main heading, the largest
  • <h2> to <h6>Tag
    Smaller headings
  • <p>Tag
    A paragraph of text
  • <br>Tag
    A line break
  • <hr>Tag
    A horizontal line dividing content
  • <a href='url'>Tag
    A link to another page
  • <img src='pic.jpg' alt='description'>Tag
    Shows an image; alt describes it
  • <strong>Tag
    Important text, usually bold
  • <em>Tag
    Emphasized text, usually italic
  • <b>Tag
    Bold text without extra importance
  • <i>Tag
    Italic text
  • <u>Tag
    Underlined text
  • <mark>Tag
    Highlighted text
  • <code>Tag
    A short piece of computer code
  • <pre>Tag
    Preformatted text that keeps spaces and line breaks
  • <blockquote>Tag
    A long quotation
  • <ul>Tag
    An unordered (bulleted) list
  • <ol>Tag
    An ordered (numbered) list
  • <li>Tag
    One item in a list
  • <dl>, <dt>, <dd>Tag
    A description list, its term, and its description
  • <table>Tag
    A table
  • <tr>Tag
    A table row
  • <td>Tag
    A table cell
  • <th>Tag
    A table header cell
  • <thead>, <tbody>, <tfoot>Tag
    Parts of a table
  • <div>Tag
    A generic block container
  • <span>Tag
    A generic inline container
  • <header>Tag
    Introductory content or navigation area
  • <nav>Tag
    A group of navigation links
  • <main>Tag
    The main content of the page
  • <section>Tag
    A themed group of content
  • <article>Tag
    Independent content like a blog post
  • <aside>Tag
    Side content related to the main content
  • <footer>Tag
    Footer content, such as copyright
  • <figure> and <figcaption>Tag
    An image or diagram with a caption
  • <form>Tag
    A form to collect information
  • <input>Tag
    A field where users type or choose
  • <label>Tag
    A text label for a form control
  • <textarea>Tag
    A large multi-line text box
  • <select> and <option>Tag
    A dropdown menu and its choices
  • <button>Tag
    A clickable button
  • <fieldset> and <legend>Tag
    Groups form controls with a title
  • <audio>Tag
    Plays sound
  • <video>Tag
    Plays video
  • <source>Tag
    Specifies a media file for audio or video
  • <canvas>Tag
    A drawing area for graphics scripts
  • <svg>Tag
    Vector graphics drawn in code
  • <iframe>Tag
    Embeds another page inside the page
  • <details> and <summary>Tag
    A show/hide widget with a visible summary
  • <abbr>Tag
    An abbreviation
  • <time>Tag
    A date or time
  • <sup> and <sub>Tag
    Superscript and subscript text
  • AttributeTag
    Extra information in a tag, like href or src
  • id attributeTag
    A unique name for one element
  • class attributeTag
    A name shared by many elements for styling
  • alt attributeTag
    Text describing an image, for screen readers
  • href attributeTag
    The link destination
  • src attributeTag
    The source file of an image or script
  • target='_blank'Tag
    Opens a link in a new tab
  • type attribute (input)Tag
    Chooses the control type: text, checkbox, number and so on
  • placeholder attributeTag
    Hint text shown in an empty input
  • required attributeTag
    The form field must be filled in
  • Comment in HTMLTag
    <!-- comment -->
  • Self-closing (void) tagsTag
    Tags with no closing tag, like <br>, <img>, <input>
  • NestingTag
    Putting tags inside other tags
  • HTML stands forTag
    HyperText Markup Language

Download this deck

Want paper cards? Paste the plain-text download into the flashcard maker.

More Web Development decks