HTML and CSS

Terms defined: attribute, Cascading Style Sheets (CSS), CSS class, CSS variable, element, escape sequence, external style sheet, HyperText Markup Language (HTML), root element, tag

HTML

Name Escape Sequence Character
less than &lt; <
greater than &gt; >
ampersand &amp; &
copyright &copy; ©
plus/minus &plusmn; ±
micro &micro; µ
HTML Tag Used For
div section in a document
h1 level-1 heading
h2 level-2 heading, etc.
p paragraph
span inline text
a hyperlink
img reference to image
ul unordered list
ol ordered (numbered) list
li list element
table table
tr table row
th table heading
td table data cell
<h1 align="center">A Centered Heading</h1>

UTF-8 Encoding

<meta charset="utf-8">
<p>&copy; 2024</p>
<!-- is equivalent to -->
<p>© 2024</p>

CSS