Basics Flashcards
1
Q
First tag in an HTML document
A
2
Q
Second tag in an HTML document
A
…
3
Q
Second tag in an HTML document
A
…
4
Q
Line break tag
A
<br></br>
*Empty element
5
Q
Format of a basic HTML document.
A
Doc title
<h1>Heading</h1>
<p>Content</p>
6
Q
Centre content
A
…
*Note: US spelling
7
Q
Horizontal line
A
<hr></hr>
*Empty element
8
Q
Non-breaking spaces
A
 
9
Q
Tag vs element
A
Element = opening tag + content + closing tag
<p> Content </p>
10
Q
What is a nested element?
A
An element inside of another element. Eg, <p>The <i>italic tag</i> for words.</p>
11
Q
What is a nested element?
A
An element inside of another element. Eg, <p>The <i>italic tag</i> for words.</p>