About usContact usSite help
Quick links
Search this site

Webpage Creation - Step 2

The Strong and Emphasize Tags

Super!! lets improve on that, and quickly, after all Hello World is a bit boring.

Now, lets look at the Strong (<strong> and </strong>) tag.
This is useful for emphasising words or phrases, be careful not to use this too much, or it will lose it's effect.

Under our first paragraph enter:
<p><strong>Put the kettle on</strong></p> ( Well, you've earned a nice cuppa! )

Refresh your web browser or click here to see the results. Close the window when your finished.

Just one little note on nesting tags, above, we have nested the <strong> tags inside the <p> tags.
There is one simple rule when nesting tags, do not mix them, keep the pairs of tags togher.
i.e. <p><strong><em>Hello World</em></strong></p>
This would look like:

Hello World - This also demonstrates the Emphasize (<em> and </em>) tag, how useful.

The Break Tag

Well, that was easy, now lets use the Break (<br />) tag. This is useful when you want to start a new line without a gap.
Enter <p>The kettle has boiled,<br />so I'm going to make a cup of tea.</p>

Refresh your web browser or click here to see the results. Close the window when your finished.

Attributes

Before we go to the next step, we just want to look at one of the attributes listed in the table on the first page.

  • bgcolor="x"

The bgcolor="x" attribute.
This attribute will actually change the colour of the background of whatever tag you use it with.
Try this in your body tag:
<body bgcolor="yelllow"> this will change the background color of your page to yellow.
It can be used in many tags, i.e. <tr>, <td> and <table> etc etc.
You don't have to use the word of the colour, you can also use hexadecimal values too, this is yellow in hexadecimal - #FFFF00, The # at the front denotes it as a hexadecimal figure and must be included.

Are you ready for Step 3?

Seven easy steps - start from the begining or skip to the section you want:

Step 2


 


More Help





*