The Basic HTML Web Page Display Tags
So we know how to start a basic HTML Webpage and get some text on the screen lets face it, it doesn't look that pretty.There are of course a million ways to format text and a few of the most basic are shown below.
The <p> Paragraph Tag
As always the <p> Paragraph tag needs to both open and close so the layout would normall be
<p> Your Text Here Then </p>
But all that will do when you put it into your HTML Page is give you the same results as before putting basic text onto the screen.
To start changing the way the <p> Tag deals with that text, you would need to add some more attributes.
Example:
<p align="center"> Will align all your text in the middle of the page
<p align="left"> Will align all your text to the left of the page
<p align="right"> Will align all your text to the right of the page.
So for example you may have
<p align="right">This is the text on my web page</p> (Don't forget to close the tag)
Which would look like
This is the text on my web page
<html>
Putting all this together your page would now look something like
<html>
<body>
<p align="right">
This is the text for my web page
</p>
</body>
</html>
This of course works OK for a basic start but to get a little more out of your web page lets move onto something that will give you a little more flexibility. The Table Tags and Elements.
Content By Web Connections - Web Design - Software Design
No comments:
Post a Comment