HTML Elements Flashcards
what are html tags
codes inside angle brackets that tell the browser how to format and arrange text
what two types of html tags are there
opening and closing tags
what are two sided html tags
tags that enclose text between an opening and closing tag
what differentiates an opening and closing tag
a forward slash (/)
what are html elements
tags that define the content in web pages
html element: b
represents a span of text stylistically different from normal text, without conveying any special importance or relevance
html element: img
represents an image in the web page
html element: a
defines a hyperlink to a location on the same page or any other page on the Web
html element: html
represents the root of an HTML document
html element: body
represents the content of an HTML document
html element: head
provides metadata about the document
html element: p
represents a paragraph of text
html element: h1
a level 1 heading
html element: h2
a level 2 heading
html element: h3
a level 3 heading
html element: h4
a level 4 heading
html element: h5
a level 5 heading
html element: h6
a level 6 heading
html element: title
defines the title of the document
html element: DOCTYPE
informs the browser which html version the document uses
html element: link
specifies relationships between the current document and an external resource
html element: meta
represents metadata information
html element: script
used to embed or reference an executable script within an html document
html element: br
produces a line break in text
html element: pre
represents pre-formatted text
what two types of html elements are there
block level elements and inline level elements
html element: div
represents a generic block of content
html element: header
represents a group of introductory or navigational aids
html element: nav
represents a section of a page with navigational links
html element: section
represents a generic section of a document
html element: article
represents a self-contained composition in a document, page, application, or site, which is intended to be independently distributable or reusable (e.g., in syndication)
html element: hr
represents a thematic break between paragraph-level elements
html element: blockquote
indicates that the enclosed text is an extended quotation
html element: aside
represents a section of the page with content connected tangentially to the rest, which could be considered separate from that content
html element: footer
represents a footer for its nearest sectioning content or sectioning root element
html element: address
supplies contact information for its nearest article or body ancestor
html element: ul
represents an unordered list of items
html element: li
represents an item in a list
html element: ol
represents an ordered list of items