23-04-2014, 02:41 PM
HTML Exercise
HTML Exercise.docx (Size: 18.22 KB / Downloads: 9)
(1) Create a web page which displays your name on screen and your institute name in title bar.
(2) Print the numbers 1 - 10, each number being a different color.
(3) Prints your name and Address in a Tahoma font.
(4) Print the below paragraph in given fonts (font names are given in brackets)
(Courier New) HTML stands for Hyper Text Markup Language. (Times New Roman) It is the core language of the world wide web and is used to define the structure and layout of web documents by using various tags and attributes. (Helvetica) Although a fundamental language of the web, HTML is a static language - content created with it does not change. (Georgia) HTML is used to specify the way webpages look, not how they function.
(5) Print the given below paragraph in given formatting only :
One particular book which is recommended reading is The Street Lawyer by John Grisham. This book is about a lawyer who begins re-evaluating his priorities in life when a bad incident occurs within his law firm. Consequently, he becomes acquainted with the inner city streets, and realizes the harsh existence of the homeless, and vows to give them a chance in the courts. The Street Lawyer is a great book. It is well written and interesting. Other books by John Grisham include The Firm, The Pelican Brief, and The Client.
(6) Print your name to the screen with every letter being a different heading size.
(7) 12 = 1
22 = 4
32 = 9
42 = 16
52 = 25
(8) Give output as below :
Hardware devices
I. CD-ROM drive
II. DVD drive
III. Hard disk
IV. Modem
Web languages
HTML
Javascript
PHP
Java
(9) Print some preformatted text of your choosing. (hint: use the <pre> tag)
(10) Print a definition list with 5 items.