Learn HTML
in One Hour or Less!
Although
there are lots of webpage design softwares around that does not
require you to know html in order to make a webpage, I still think
that you should learn some html coding. This will help you do some
flexible adjustment on your webpage in case things do not turn out
the way you want in the design software.
Common
HTML questions:
HTML: What is it?
HTML
is the actual coding language used to write Web pages. But don't
worry, it is not hard to learn at all. Just study the information
provided below and you can whip up a webpage using html in no
time at all.
Here is the difference between HTML code and a browser display:
|
HTML Code |
|
Browser Display |
|
I want to <B>emphasize</B> this! |
|
I want to emphasize this! |
Letters and words that are enclosed in "<" and ">" marks
are called "tags." They give command to the browser on how the
text on the webpage should be displayed.
-
The <B> tag tells the browser to make bold text.
-
The </B> tag means to stop making bold text.
What is a tag?
In
HTML, a tag tells the browser what to do.
When you write an HTML page, you enter tags for many reasons --
to change the appearance of text, to show a graphic, or to make
a link to another page.
The tags you write are not visible on the browser, but their
effects are.
Tags begin with the symbol "<" and end with ">".
Tags usually come in pairs, one that begins an action and one that
ends it.
This tag: <I> starts printing italicized text.
This tag: </I> stops the effect of a previous <I> tag.
Note the "/".
To italicize a word, you simply put <I> before the word
and </I> after it:
|
HTML Code |
|
Browser Display |
|
I want to <I>italicize</I> this! |
|
I want to italicize this! |
When you write an HTML page, you see all the tags and can change
them. When you view the page on a browser, you see the result
of the tags.
Now try this.
Open up notepad in windows,
and type the above html code. Name the file anything you like, but
make sure the extension is .html and not .txt. This would ensure
that the browser can read the text you've typed in.
Next, open the file you have
just saved using the Internet Explorer. You will see that the word
"italicize" is shown as "italicize".
Now, open the html file using notepad and remove
the <I></I> tags. Open the file again in Internet Explorer
and you will see that the word "italicize" is displayed
as normal.
Can you show me the common
tags being used?
Below
are the 3 of the most commonly used html tags in a webpage.
Here are some common tags:
|
Tag |
|
HTML Code Example |
|
Browser Display Example |
| <B>
(Bold) |
|
I want to <B>emphasize</B> this! |
|
I want to emphasize this! |
| <I>
(Italic) |
|
I want to <I>italicize</I> this! |
|
I want to italicize this! |
| <U>
(Underline) |
|
I want to <U>underline</U> this! |
|
I want to underline this! |