Web Design
Web Design
example:
<font face=“arial” color=“red” size=7>
How are you?
</font>
NOSHADE>
Contd……
<HR COLOR="#0099FF">
or
<hr color=“red”>
Inserting Images
<img [Attributes] >
Example:
<img src=“d:\web\image1.jpg” align=“left” >
Example
<a href="nextpage.html">click here</a>
Link to another website
<a href="http://www.yahoo.com">yahoo</a>
(this is called an absolute URL)
Making Image As Link
<a href="spaceman.jpg">spaceman.jpg</a>
Animated Text
<Marquee> Tag
Example:
<MARQUEE bgcolor=#CCCCCC loop="-1"
scrollamount="7" width=100%
direction=“right”> Example
Marquee</MARQUEE>
Note: Direction can be: right ,left, up, down
Creating List
Ordered List
Un-ordered list
<tr>
<td>rowspan=2>text</td>
</tr>
Frames:
With frames, you can display more than one
HTML document in the same browser window.
Each HTML document is called a frame, and
each frame is independent of the others.
The disadvantages of using frames are:
The web developer must keep track of more
HTML documents
It is difficult to print the entire page
The Frameset Tag
The <frameset> tag defines how to divide the
window into frames
Each frameset defines a set of rows or
columns
The values of the rows/columns indicate the
amount of screen area each row/column will
occupy
The Frame Tag
The <frame> tag defines what HTML
document to put into each frame
Example:
<frameset cols="25%,75%">
<frame src="frame_a.htm">
<frame src="frame_b.htm">
</frameset>
Inserting Videos
<EMBED> Tag
Example:
<embed src="video.wmv" width="300"
height="200"
autostart="false"></embed>