-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path2.1.html
23 lines (21 loc) · 1.5 KB
/
2.1.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
<html>
<head>
<title>Tag Examples</title>
</head>
<body bgcolor="white">
<h1>Here is a level 1 Heading</h1>
<h2>Here is a level 2 Heading</h2>
<hr />
<pre>
Here is some <strong><em>preformatted text</em></strong> that has been created with the pre element. Note that it retains the paragraph tab included in the <b><i>original document</b></i>.
Also it does not "collapse" line feeds and white spaces. Often, it is easier to use preformatted text than it is to use markup to get the same effect. Note, however, that the default rendering of preformated text is to use a monospaced Courier font.
This is often a good choice of displaying code in an HTML document,but perhaps not a good choice for other kinds of text content.
</pre><p><center>
<img src="house.jpg" align="left" /> Here, a small graphic has been inserted into the document using the "img" element. This text is outside the preformatetd region so the default font is different. If you look at the original document, you can also see that white spaces and line feeds are now collapsed.
</p><p>
Note too, that the text is now centered. The way the text is displayed will depend on how you have the display window set in your browser. It may change when you go from full screen to window, for example.
</center></p><p>
Centering is now turned off. The default text is to the left of your screen.
You can change the size and color of text <font size="7"color="blue"> by using <font><font><font color="purple">element.</font>
</body>
</html>