Text
Text is entered on a web page by simply writing words in your HTML
document. To add style to words, the text must be surrounded by certain
tags. Here are the text styling tags:
<b>bold</b>
<big>big text</big>
<cite>citations</cite>
<em>emphasis</em>
<i>italics</i>
<small>small</small>
<strike>strike</strike>
<strong>strong</strong>
<sub>subscript</sub>
<sup>superscript</sup>
<tt>teletype</tt>
<u>underlined</u>
<pre>preformatted
</pre>
<h1>Heading size 1</h1> = Heading size 1
<h2>Heading size 2</h2> = Heading size 2
<h3>Heading size 3</h3> = Heading size 3
<h4>Heading size 4</h4> = Heading size 4
<h5>Heading size 5</h5> = Heading size 5
<h6>Heading size 6</h6> = Heading size 6
If you keep typing for a long time, you'll notice that the words
automatically wrap to the next line when they reach the right side of the
window. But if you want to start a new line, how do you do that? It's
pretty simple. You use the <br> tag to start a new line. It stands
for "break return." You can also use <p> and </p> around each
paragraph. Within the <p> tag you can specify variables. Like you can
use <p align="center"> to have the paragraph centered in the middle of
the screen. Use align="right" to move it to the right, and align="left"
to move it to the left.
Next lecture