Você está na página 1de 4

HTML EXERCISES FOR PRACTICE IN LAB

Session 1: HTML Exercise: 1. Write HTML code to develop a web page having the bac ground in red and title !M" #irst $age% in an" other color. &. 'reate a HTML docu(ent giving details o) "our na(e* age* telephone* address* TL' code + enroll(ent no. aligned in proper order, -. Write HTML code to design a page containing a text in a paragraph give suitable heading st"le. Introduction to

Session &: Tags in HTML Exercise: 1. 'reate a page to show di))erent attribute o) #ont tag. &. 'reate a page to show di))erent attribute italic* bold* underline. -. .esign a page having bac ground color given text color red and using all the attributes o) )ont tab. Session -: Tags in HTML Exercise: Write a HTML code to create a web page o) blue color and displa" lin s in red color. 1. Write HTML code to create a Web$ages that contains an I(age at its center. &. 'reate a web page with appropriate content and insert an i(age towards the le)t hand side o) the page when user clic s on the i(age. It should open another web page.

Session /: Tags in HTML Exercise: 1. 'reate a web $age using hre) tag having the attribute alin * vlin etc. &. 'reate a web page* when user clic s on the lin it should go to the botto( o) the page. -. Write a HTML code to create a web page o) pin color and displa" (oving (essage in red color.

Session 0: Tags in HTML Exercise: 1. 'reate a web page* showing an ordered list o) na(e o) "our )ive )riends. &. 'reate a HTML docu(ent containing a nested list showing the content page o) an" boo -. 'reate a web page* showing an unordered list o) na(e o) "our )ive )riends.

Session 1: Tags in HTML Exercise: 1. 'reate a web page which should contain a table having two rows and two colu(ns. &. )ill in the data in the table created b" "ou in 2uestion 1. &. create the )ollowing table in HTML with .u((" .ata

3a(e o) train

$lace

.estinatio n

Train 3o.

Ti(e 4rriv .epartur al e

#air

Session 5: Tags in HTML Exercise: 1. 'reate the )ollowing table a. 'olor 6White7 8E. 98EE 3 :L4';

b. Weather .ELHI /= M<M:4I -0

&. &. Write HTML code to create a web page that contain an i(age at the center o) the page. -. -. Write HTML code to generate )ollowing output

1 0 5 ?

&

/ 1

I(age 1= 11

> 1&

Session >: #ra(es in HTML Exercise: 1. 'reate a web page which should divide page into two e2ual )ra(es

#ra(e1

#ra(e&

&. 'reate a web page which should generate )ollowing output:

#ra(e& #ra(e1 #ra(e-

-. 'reate a web page having two )ra(es one containing lines and another with contents o) the lin . When lin is clic ed appropriate contents should be displa"ed on #ra(e &.

Você também pode gostar