HTML Styles & Programming Flashcards
style
Element for CSS
goes in the head
Specifies how the page should render
div
Division of the page used as
a container for elements to be
styled by CSS or manipulated by
JavaScript
Any elements can go in the tag
span
An inline container to markup,
stylize with CSS, or manipulate
with JavaScript
header
Used for containing introductory
or navigation content
headings, logos, authorship
footer
Defines a container for footer information
authorship, copyright, contact info,
site map, related documents, back to top
main
The main content
Only one main
Must NOT descend from:
article, aside, footer, header, or nav
section
Defines a section of the page,
has a more specific meaning than div
Used for elements that are on a
consistent topic, same theme
article
Used to specify self-contained information
aside
Defines content aside from
the page content, side-bar content
details summary
Specifies a container with additional
details that collapse
details
summary /summary
p /p
/details
dialog
Defines a subwindow, for popup
dialogs and modals
data
Allows for machine readable translation of content
time
An element that translates time into
machine readable code that can
interact with the user’s calendar
script
Adds JavaScript to the page
OR can add an external JavaScript
file.
script src=””
noscript
An element to display if the browser
does not support JavaScript