02 - HTML Intro
02 - HTML Intro
The <body> tag has two attributes where you can specify backgrounds. The
background can be a color or an image.
bgcolor
background
<a href="lastpage.htm">
<img border="0" src="buttonnext.gif" width="65“>
</a>
E-Mail Link on Your Page
You can add your E-Mail address on your web-page, so
that your reader can reply/feed-back while visiting your
page. This is the simply way to enable readers of your
web-pages to “talk back” to you.
<p align=“left”>
I love Pakistan.<br />
I love Pakistan.<br />
I love Pakistan.<br />
</p>
HTML Lists
Unordered Lists
An unordered list starts with the <ul> tag. Each list item starts
with the <li> tag.
<ul>
<li>Coffee</li>
<li>Milk</li>
</ul>
Output:
• Coffee
• Milk
HTML Lists
Ordered Lists
An ordered list starts with the <ol> tag. Each list item starts
with the <li> tag.
<ol>
<li>Coffee</li>
<li>Milk</li>
</ol>
Output:
1. Coffee
2. Milk
HTML Lists
Definition Lists
Definition lists are indented lists without any number or symbol in front of
each item.
<dl>
<dt>Coffee</dt>
<dd>Black hot drink</dd>
<dt>Milk</dt>
<dd>White cold drink</dd>
</dl>
Output:
Coffee
Black hot drink
Milk
White cold drink
Text Formatting
<b>This text is bold</b>