HTML5 Flashcards
(44 cards)
Body Element
< body >< /body >
Paragraph Element
”< p >< /p >”
Span Element
< span >< /span >
-used to isolate parts of in-line
Division Element
< div >< /div >
- Divide body into sections
Make “italic” Element
< em >< /em >
Make “bold” Element
< strong >< /strong >
Ordered List Element
< ol >< /ol >
Unordered List Element
< ul >< /ul >
List Item Element
< li >< /li >
Image Element
< img src=”source” alt=”description” /img >
Video Element
< video src=”source” width=”1” height=”2” controls > video not supported < /video >
Heading/Subheading Element
< h1 >< /h1 > through < h6 >< /h6 >
Root Directory
Main folder where all HTML files associated with a project are stored.
Line Break Element
< br >
Declare an HTML Document
< !DOCTYPE html5 >
declaration should always be the first line of code in your HTML files. This lets the browser know what version of HTML to expect.
Container Element for HTML
< html > < /html >
Element to Store Website Info
< head >< /head >
Titling Element
< title >< /title >
A webpage’s title appears in a browser’s tab.
Anchor Element
< a >< /a >
< a href=”./name.html” >< /a > - internal link
< a href=”#name” >< /a > - id link
< a href=”www.website.com” >< /a > - external link
used to link to internal pages, external pages or content on the same page.
Attribute to Specify Unique ID for Element
id=”unique_id”
Add Comment to HTML
< !– –>
Table Element
< table >< /table >
Table Heading Element
< th >< /th >
Use following attributes to define column headings or row headings:
scope=”col”
scope=”row”
Attribute to allow table data to span multiple columns or rows
colspan=”1”
rowspan=”1”