1/9
Looks like no tags are added yet.
Name | Mastery | Learn | Test | Matching | Spaced |
---|
No study sessions yet.
HTML abbreviation
Hyper Text Markup Language
basic html web page structure
<!DOCTYPE html>
<html lang='“eng”>
<head>
<title>Page title goes here</title>
<meta charset=”utf-8”>
</head>
<body>
…body text & more html tags…
</body>
</html>
meta element
<meta charset=”utf-8”>
known as a standalone or “void” element, tells the browser how to interpret the text on the page. “utf=8” is the standard and supports most characters from all languages.
html heading elements
<h1>Heading level 1</h1> (largest)
<h2>Heading level 2</h2>
<h3>Heading level 3</h3>
<h4>Heading level 4</h4>
<h5>Heading level 5</h5>
<h6>Heading level 6</h6> (smallest)
blockquote element
<blockquote>
<p>The only way to do great work is to love what you do.</p>
</blockquote>
ordered list
<ol>
<li>First item</li>
<li>Second item</li>
<li>Third item</li>
</ol>
unordered list
<ul>
<li>First item</li>
<li>Second item</li>
<li>Third item</li>
</ul>
special characters
ex: copyright symbol
<p>© Copyright 2022</p>
Result:
©Copyright 2022
structural elements of an html page
description lists
<dl> (description list) - the parent element that encloses the entire description list
<dt> (description term) - defines a term or name within the list
<dd> (description definition) - the description or definition for the <dt> element