How To Show HTML To People
Have you ever tried to show HTML code to people, only to have it really operate?
For example, you type in
<b>bold</b> and you just get this:
bold
This is how people (including us) display HTML tags:
In the previous example, we used <b>bold</b> as the displayed code. This is how I wrote that:
<b>bold</b>
Look complicated? It's not. Let's break it down.
The first part is
<b>
This is written as
<b>
Ever noticed how the things around the tags are greater and less than signs (<,>)? Well, that is used here. & l t ; is used for less than and & g t ; is used for greater than.
That's essentially all you need to know!
< = <
> = >
Now you can show people HTML on your website!
NOTE FROM NILS: In addition, & = &
NOTE FROM GEOFFREY: To show people how to show people how to make HTML, remember to use & as an &. So to write < you would write &lt;
For example, you type in
<b>bold</b> and you just get this:
bold
This is how people (including us) display HTML tags:
In the previous example, we used <b>bold</b> as the displayed code. This is how I wrote that:
<b>bold</b>
Look complicated? It's not. Let's break it down.
The first part is
<b>
This is written as
<b>
Ever noticed how the things around the tags are greater and less than signs (<,>)? Well, that is used here. & l t ; is used for less than and & g t ; is used for greater than.
That's essentially all you need to know!
< = <
> = >
Now you can show people HTML on your website!
NOTE FROM NILS: In addition, & = &
NOTE FROM GEOFFREY: To show people how to show people how to make HTML, remember to use & as an &. So to write < you would write &lt;
2 Comments:
By:Stonehaven
Why use that to show people, wouldnt it be easier to just show them the easy way using the "<>" tags?
By Anonymous, at August 22, 2005
If you type in <b> using the easy way, then nobody will see what you typed: it will just make text bold.
By nilsmo, at August 30, 2005
Post a Comment
<< Home