In
preceding section, we had left
discussion at
tag, so let us continue from here.For showing simple text, we use
tag in such a manner:
Ah! This is for
first time I'm writing my own HTML. The world is so different out here. Marvelous!
You can consider
to be a paragraph.OK, now
page should look like:
This is my first, hand-coded HTML page Ah! This is for
first time I'm writing my own HTML. The world is so different out here. Marvelous!
Refresh
page. See something?
If you want to highlight a section, for instance, "Marvelous!", you can do it like this:
Ah! This is for
first time I'm writing my own HTML. The world is so different out here. Marvelous!
Refresh
page. See something?
The use of some of
tags have been discontinued by some of
newer browsers, but we'll handle those complexities when we cover style sheets. At
moment, these should work.
The browser will show
text in
default font. If you want to use your own font, size and color, you'll have to use
font size for a particular portion of
text like this:
Ah! This is for
first time I'm writing my own HTML. The world is so different out here. Marvelous!
If you find it confusing, just type it as it is, save
file, and refresh
page in
browser, and you'll understand what I'm trying to say.
Notice
opening and closing tags everywhere? SIZE, FACE and COLOR are
main basic attributes of
tag.
== Step 6: ==
Let us now create a hyperlink and get over with
current article. A hyper link is
fancy text over which when you hover your cursor,
cursor metamorphoses into a pointing finger, indicating that you are going to be taken to some other web-destination upon clicking
left mouse button. A graphic can act as a hyper-link too, but we'll come to that later.