-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path1_markup.html
31 lines (29 loc) · 1.44 KB
/
1_markup.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>1_markup</title>
</head>
<body>
<h1>h1 is a first-level heading</h1>
<h2>h2 is a second-level heading</h2>
<h3>h3 is for third</h3>
<h4>h4 is for fourth</h4>
<h5>h5 is for fifth</h5>
<h6>h6 is the last one</h6>
<p>Tags have angle brackets, < and >, and "wrap" around text to make elements. The frontslash character leans forward: /. Elements can have attributes;
<span style="color: rebeccapurple;">
this span has a style attribute.
</span>
P tags are for paragraphs. Strong and em tags make text <strong>bold</strong> and <em>italic</em>, respectively. Likewise, you can use sup and sub tags make text <sup>superscript</sup>, or <sub>subscript</sub>, or q tags for short <q>quotes</q>.</p>
<blockquote>
You should use blockquote tags for long quotations, <br>
a br tag for a line break, and an hr tag for a horizontal rule.<br>
These are known as self-closing, because they don't have a closing tag.
</blockquote>
<hr>
<p><abbr title="For Your Information">F.Y.I.</abbr> the abbr tag is for abbreviations, the cite tag is for <cite>Titles of Works</cite> by some authors, you can also show that text has been <del>deleted</del> or <ins>inserted</ins>, or you can just make a <s>strikethrough</s> using the s tag.</p>
<!--Lastly, HTML comments are hidden-->
</body>
</html>