Sie sind auf Seite 1von 19

Exercise 1:

Create a HTML file for displaying a webpage with following Tags. The file should contain a brief description about you including (Your Name, Name of School and Hobbies etc.) 1. 2. 3. 4. Bold Italics Underline Alignment 5. Paragraph 6. Text Color 7.Background Color 8.Line break

<html> <title>Exercise 1</title> <head><B><I><U><CENTER><H1>MYSELF</H1></CENTER></U></I></B></HEAD> <HR> <body BGCOLOR=yellow TEXT=red> <PRE> <p align="center"> <BR><h1>NAME <h2><BR>D.O.B <BR>AGE <BR>CONTACT NUMBER <BR>HOBBIES <BR>SCHOOL NAME <br>professional qualification </h2> <b>Navleen Singh</b><h1></p> 7<sup>th</sup> Jan 1993 19 9212895901 <i>Playing Guitar, Football</i> <u>G.N.P.S</u> Basic knowledge of computer

</PRE> </BODY> </HTML>

Exercise 3.
Create a HTML file for displaying a webpage having the following appearance.

<html> <title>Exercise 3</title> <head><h1><p align="center">HTML</p></h1> <body bgcolor="pink"> <h3> <B>Definition of HTML</B><font color="yellow">This is the language that Web pages are written in. If you want to create really great Web pages then you will need to learn this. As far as computer languages go this is the easiest to learn. You can create a Web page without it using a Web page editing program but the program will still use HTML to create the page.</FONT> <br> <BR> <B>History of HTML</B><font color="red">Interest in and use of the World Wide Web has been expanding at a phenomenal rate. As the Web grows, so must its vehicle of communication, HTML. The HTML 2.0 specification is dated November, 1995. Since then, the HTML 3.0 draft specification expired on September 28, 1995, without becoming recommended, and HTML 3.2 became a W3C (World Wide Web Consortium) Recommendation on January 14, 1997. Now we have the public draft for HTML 4.0, announced on July 8, 1997. This draft is almost certain to undergo changes before being accepted by the W3C as a Proposed Recommendation--if it does, indeed, ever become a recommendation.</FONT> <br> <br> <hr><pre> <a href="images.html">Images <a href="headings.html">Headings <br> <a href="color.html">Color <a href="tags.html">Tags <hr></pre> </head>

<html>

Images <html> <head>Images <body> <br> <img src="C:\Users\naval\Desktop\html.jpg"> <br> <img src="C:\Users\naval\Desktop\html.jpg" border=1 height=100 width=200>

<br> <a href="html.html">Home </head> </html>

COLOR <html> <head><font color="skyblue"><h1>color</h1> <body background="C:\Users\naval\Pictures\Picasa\Screen Captures\screen.bmp"> <font color="red" size=10> I am studing at IITM college. <br> <font color="blue" size=10>I have a little Interest in HTML. <br> <a href="html.html">Home

</head> </html>

HEADINGS <html> <head><h1>Headings</h1> <body bgcolor="skyblue"> Different headings are: <h5>Hello Everyone</h5> <h4>Hello Everyone</h4> <h3>Hello Everyone</h3> <h2>Hello Everyone</h2> <h1>Hello Everyone</h1>

<br> <a href="html.html">Home </head> </html>

TAGS <html> <title>tags</title> <head>Tags done Till Now <body> <pre> <u>TAGS</u> <b> <I> <u> <Pre> BOLD Italics Underline Preformatted Text <u>Descpription</u>

<Hr> <Br> <br> <a href=html.html>Home</body> </head> </html>

Horizontal Line Line Break

Exercise 5.
Create a HTML file for displaying a webpage containing the list with following appearance.Example of marquee with as many attributes as possible.

<html> <title>Exercise 5</title> <head><h1>Marquee Tag <body> <marquee>WELCOME to computer Lab</marquee> <marquee scroll amount=20>WELCOME to computer Lab</marquee> <marquee direction=top>WELCOME to computer Lab</marquee> <marquee direction=down>WELCOME to computer Lab</marquee> <marquee direction=right>WELCOME to computer Lab</marquee> <marquee behaviour=slide>WELCOME to computer Lab</marquee> <marquee behaviour=scroll>WELCOME to computer Lab</marquee> </h1> </head> </html>

Exercise 7.
Create a Leave Application with following Specifications: a) Subject should be centered align b) Show the use of strike using initial with name.

<html> <title>Exercise7</title> <body><h1> To<br> The Director<br> Date-26<sup>th</sup> feb 2013<br> <p align=center>Subject-<u>Application for leave</u></p> Dear sir<br> I<strike> Mrs/Miss</strike>Mr Navleen singh of class M<sub>2</sub>, B.B.A(general) 4<sup>th</sup>semister want permission for leave from 28<sup>th</sup>Feb 20135<sup>th</sup>March 2013 due to some personal reasons. Please do grant for the same.<br> Thanking You<br> Mr Navleen Singh<br> 12490301711<br> </h1> </body>

</html>

Exercise 4.
Create a HTML file for displaying a webpage containing the list with following appearance. <html>

<title>Exercise 4</title> <head><b><h2>Courses</b></h2> <body> <ol> <li>BCA <OL TYPE=A> <LI>FYBCA <OL> <LI>HTML <LI>C <LI>PCS </OL> <LI>SYBCA <OL> <LI>NET <LI>C++ <LI>DFS </OL> <LI>TYBCA <OL> <LI>ASP.NET <LI>JAVA <LI>ORACLE </OL>

</ol> <LI>BBA <OL TYPE=A> <LI>FYBBA <ol> <li>POM <li>B.M <li>B.O </ol> <LI>SYBBA <ol> <li>B.L <li>M.A <li>H.R.M </ol> <li>TYBBA <ol> <li>Entrepreneurship Development <li>Business Ethics <Li>E- Commerce </ol> </OL> <li>BBA-CAM <OL TYPE=A>

<li>FYBBA-CAM <ol> <Li>P.O.M <Li>Introduction to Computers <li>Business Mathematics </ol> <li>SYBBA-CAM <ol> <li>Software Engineering <li>Human Capital Management <li>Marketing Management </ol> <li>TYBBA-CAM <ol> <li>Business Environment <li>Computer Networks <li>RDBMS </ol> </OL> </HEAD> </HTML>

Exercise 6.
Q. Create a HTML page for a Freshers Party invitation having title in maequee effect and add
blink effect over the price.

Ans.
<HTML>

<head><H1><center><FONT COLOR=WHITE><MARQUEE>FRESHERS PARTY INVITATION</MARQUEE></FONT></center></h1></head> <BODY BGCOLOR=BLUE> <FONT COLOR=BLACK> <PRE><H1> THIS IS TO INVITE ALL THE STUDENTS OF IINTM COLLEGE, THAT OUR COLLGE IS ORAGANISING A FRESHER'S PARTY.INTERESTED STUDENTS CAN TAKE THE PASSES FROM THEIR RESPECTIVE CLASS MENTORS.

VENUE: TIME: PASS:

SK WESTENED,JANAKPURI WEST 11:30AM ONWARDS <BLINK>Rs 400/-</BLINK>PER HEAD

COORDINATORS: MONICA GUPTA,SNEHA SHARMA </H1></PRE> </FONT> </BODY> </HTML>

Exercise 2.

Das könnte Ihnen auch gefallen