Beginning HTML

Tags

In my introduction, I mentioned tags. These are the bread and butter of HTML. Tags are interpreted by your browser and their effects are enforced on the text they surround. Let's look at an example:

The tag for emboldening text is the B tag. All tags take the form <tagname>. If the tag works as a pair, which most do, then the end tag looks like </tagname>. So for our bold tag the syntax is:
Start bold - <b>
End bold - </b>

So the following HTML:
In this sentence, we have emboldened the last <b>word</b>.

Would be viewed by your browser as:
In this sentence, we have emboldened the last word.

Notice how the full stop is not bold. This is because the full stop is to the right of the </b> tag which tells your browser to stop emboldening things.

You might also like...

Comments

Contribute

Why not write for us? Or you could submit an event or a user group in your area. Alternatively just tell us what you think!

Our tools

We've got automatic conversion tools to convert C# to VB.NET, VB.NET to C#. Also you can compress javascript and compress css and generate sql connection strings.

“There are 10 types of people in the world, those who can read binary, and those who can't.”