|
|||
Part 3 - Formatting your Text - Page 2© Tracy Ryan
<H6>Text</H6>
Looks like this.The last type of text formatting we’ll cover in this article is preformatted text. “What exactly is preformatted text?” You might ask… I’ll see if I can explain it as simply as possible. In general, when you’re writing the HTML for your page, there’s certain tags you will use to space things out on your page. That is how you have to control the formatting. You can’t, for example, use six spaces or a tab to space words in your sentence, as browsers won’t recognise tabbing, and they will only read the first space and ignore any subsequent ones. EXCEPT if they lie between tags that specify ‘preformatted text’. The tags that you use for this are <PRE> with the closing </PRE> (as always). All text that lies between those two tags, including all spaces, tabs, carriage returns, and so on, will be recognised “as is” and will show up on the page that way. Try the following two sets of HTML code to see how it works… <HTML> Here is some text <PRE> And now I’m going </PRE> </BODY> </HTML> So you can now use formatting tags to change the text appearance on your page. Next article will cover fonts and their use on your web page. There’s a little more to it than you may expect. Go To Page: 1 2
The copyright of the article Part 3 - Formatting your Text - Page 2 in Website Creation is owned by Tracy Ryan. Permission to republish Part 3 - Formatting your Text - Page 2 in print or online must be granted by the author in writing.
For a complete listing of article comments, questions, and other discussions related to Tracy Ryan's Website Creation topic, please visit the Discussions page. |
|||
|
|
|||
|
|
|||