HTML Semantics Flashcards
Semantics
the process of adding meaning through language
blockquote
for using a quote
cite
for the citation
i
indicates an alternative voice
dl
description list
dt
defines a term or name in a description list
dd
a description of a term or name in a dt
HTLM5 semantic sectioning (4)
- article
- aside
- nav
- section
Semantic grouping elements (3)
- footer
- header
- main
How many H1 should you have per page?
usually 1, the page name
How many headers can you have per page?
as many as you need
has more footers can you have per page?
as many as you need
figure element
for videos, photos, images, code samples, or anything that is considered an illustration
is figcaption element mandatory in a figure element?
it is considered optional
address element
- includes contact information, postal code, address, phone number, etc… OF THE AUTHOR OF THE PAGE
small element
defines small text such s fine print
mark element
- for references purposes
- use when you are showing that something in a page has been edited
the correct format for a time element is….
year-month-day (in numbers)