Professional Documents
Culture Documents
2 O-Level-Project-Html-Programe
2 O-Level-Project-Html-Programe
2 O-Level-Project-Html-Programe
This is t o cert ify t hat t he Project work done at NIELIT, New Delhi, Tit led
" HTM L Language" BY M r./ M s. DHARM CHANDRA (NIELIT Registrat ion No.
_1127697 ) in part ial fulf illment of NIELIT 'O' Level Examinat ion has been
found sat isfact ory. This report has not been submit t ed for any ot her
examina- t ion and does not form part of any ot her course undergone by t he
candidat e
It is furt her cert ifies t hat he/ she has appeared in all t he four modules of
NIE- LIT 'O' Level Examinat ion.
Signat ure
Name:
No.) (or)
ion:
Address:
(or)
1. Introduction
[1]
Hypertext Markup Language (HTML) is a markup language for creating a webpage.
WebPages are usually viewed in a web browser. They can include writing, links, pictures,
and even sound and video. HTML is used to mark and describe each of these kinds of con-
tent so the web browser can display them correctly. HTML can also be used to add meta
information to a webpage. Meta information is usually not shown by web browsers and is
data about the web page, e.g., the name of the person who created the page. Cascading
Style Sheets (CSS) is used to style HTML elements while JavaScript is used to manipulate
HTML elements and CSS styles
2. HTML History
The first version of HTML was written by Tim Berners-Lee in 1993. Since then, there
have been many different versions of HTML. The most widely used version throughout
the 2000's was HTML 4.01, which became an official standard in December 1999.
Most pages on the Web today were built using either HTML 4.01 or XHTML 1.0. How-
ever, in recent years, the W3C (in collaboration with another organization,
the WHATWG ), has been working on a brand new version of HTML, HTML5. Current-
ly (2011), HTML5 is still a draft specification, and is not yet an official standard. How-
ever, it is already widely supported by browsers and other web-enabled devices, and is
the way of the future. Therefore, HTML5 is the primary language taught in this
course.
3. HTML Versions
Since the early days of the web, there have been many versions of HTML:
Version Year
HTML 1991
XHTML 2000
HTML5 2014
4. Tags
HTML tags are the hidden keywords within a web page that define how your web browser
must format and display the content.
Most tags must have two parts, an opening and a closing part. For example, <html> is the
opening tag and </html>is the closing tag. Note that the closing tag has the same text as
the opening tag, but has an additional forward-slash ( / ) character. I tend to interpret this
as the "end" or "close" character.
<html>……………….</html>
<head>
<title>HTML Tags - Head Tag</title>
</head>
<title> ………………..</title>
<body>………………… <zbody>
5. HTML Attributes
HTML links are defined with the <a> tag. The link address is specified in
the href attribute:
Images in HTML have a set of size attributes, which specifies the width and height of the
image:
The alt attribute specifies an alternative text to be used, when an image cannot be dis-
played. The alt attribute is also useful if the image does not exist:
The style attribute is used to specify the styling of an element, like color, font, size etc.
Required Software
Software :- Notepad , Notepad++, Editplus, bluefish, terminal.
OS:- windoswXP,7,8,lO, Linux, Mac OSX
PROJECT l.
<html>
<head>
<title>web page<Ztitle>
<Zhead>
<Zhtml>
(Note:- write the HTML code using Notepad software and save the file using .HTML ex-
tension.)
Output :-
Project 2.
<html>
<head>
<title>web page<Ztitle>
<Zhead>
<Zhtml>
Output :-
Project :-3
<html>
<head>
<title>web page</title>
</head>
</html>
Output :-
Thi s i s 5t h Headi ng
Thi s i s 6t h Headi ng
Project :4
<html>
<head>
<title>web page<Ztitle>
<Zhead>
<body >
<P> HTML stands for hyper text markup language. It is supposed super set of SGML.
<p> you can create web page using HTML language. It is easy to learn and interesting as
well. <br>
When you get a lot of pages you can assemble into a directory and can give it is a shape
of website.
<Zbody>
<Zhtml>
Output :-
HTM L st ands for hyper t ext markup language. It is supposed super set of
SGM L.
you can create web page using HTML language. It is easy to learn and interesting as well.
When you get a lot of pages you can assemble into a directory and can give it is a shape of
website.
Project : 5
<html>
<head>
<title>web page</title>
</head>
<body >
<li>c language
</ol>
</body>
</html>
Output :-
project : 6
<html>
<head>
<title>web page</title>
</head>
<body >
<ul><li>monitor
<li>mouse
<li>keyboard
<li>CPU
</ul>
</body>
</html>
Output :-
• monitor
• mouse
• keyboard
• CPU
Project :7
<html>
<head>
<title>web page</title>
</head>
<body >
</ol>
</body>
</html>
Output :-
project : 8
<html>
<head>
<title>web page<Ztitle>
<Zhead>
<body >
<pre>
M2 c pass
M3 c pass
M4 B pass
<Zpre>
<Zbody>
<Zhtml>
output :-
M2 c pass
M3 c pass
M4 B pass
Project : 9
<html>
<head>
<title>web page</title>
</head>
<body >
<p>this is <sub>subscript</sub>
<p>this is <sup>superscript</sup>
<p>this is <strike>strikethrough</strike>
</body>
</html>
Output :-
this is Bold
this is italic
this is underline
this is subscript
superscript
this is
Project :10
compact Attribute.
<html>
<head>
<title>web page</title>
</head>
<body >
<dl compact>
<dt>/p
<dt>/w
</dl>
</body>
</html>
Output:-
/p
display the directories and files page-wise.
/w
display the directories and files width-wise.
Project :11
Font Tag
<html>
<head>
<title>web page<Ztitle>
<Zhead>
<body >
<Zbody>
<Zhtml>
Output :-
Project :12
<html>
<head>
<title>web page<Ztitle>
<Zhead>
<body backgrounded:vnielit.jpg>
<Zbody>
<Zhtml>
Output :-
Project :13
<html>
<head>
<title>web page<Ztitle>
<Zhead>
<body>
<Zbody>
<Zhtml>
Output :-
i am in the right
i am in the center.
i am in the left.
Project :14
<html>
<head>
<title>web page</title>
</head>
<body>
</body>
</html>
Output :-
st udent nielit
contect me
10MoARcPSD142725493
Project :15
<html>
<head>
<title>web page<Ztitle>
<Zhead>
<body>
<hr>
<hr size="10">
<Zbody>
<Zhtml>
Output :-
Project :I6
<html>
<head>
<title>web page<ltitle>
<lhead>
<body>
<table border="I">
<tr bgcolor="red"><td>Course<ltd><td>duration<ltd>
<ltr>
<tr bgcolor="green">
<td>O Level><ltd><td>Iyear<ltd>
<lbody>
<lhtml>
Output :-
Course duration
O Level> Iyear
A level Iyear
Project: 17
<html>
<head>
<title>web page</title>
</head>
<body>
<table border="1">
</tr>
<tr bgcolor="green">
<td>CCC</td><td>CCC+</td><TD>BCC</TD>
<tr bgcolor="green"><td>ECC</td><td>ACC</td></tr></table>
<P>
<P><table border="1">
</tr>
<tr bgcolor="green">
<td>CCC</td><td>CCC+</td><TD>BCC</TD>
<tr bgcolor="green"><td>ECC</td><td>ACC</td></tr></table>
</body>
</html>
Output :-
digital Course
CCC CCC+ BCC
ECC ACC
Project : 18
<html>
<head>
<title>web page<Ztitle>
<Zhead>
<body>
<Zbody>
<Zhtml>
Output :-
This is marked t ag
Project :-19
HTM L colors
<html>
<head>
<title>web page<Ztitle>
<Zhead>
<body>
<p>
<Zfont>
<Zbody>
<Zhtml>
Output :
lime color
Project:-20
Marquee tag
<html>
<head>
<title>web page</title>
<head>
<body>
<marquee><b>NIELIT</b></marquee>
</body>
</html>
Output :-
NIELIT
Project :-21
A. Input tag
<html>
<head>
<title>web page</title>
<head>
<body>
<p>
</body>
</html>
Output :-
First Name:
Last Name:
Project :-22
<html>
<head>
<title>web page</title>
<head>
<body>
<p>
</body>
</html>
Output :-
nielit123
User ID:
****
Password:
Project :-23
<html>
<head>
<title>web page</title>
<head>
<body>
<form>description:<P>
</TEXTAREA>
</FORM></body>
</html>
Output :-
description:
Project:24
<html>
<head>
<title>web page</title>
<head>
<body>
</FORM></body>
</html>
Output :-
O Level
A Level
12th
Graduation
Master graduation
Project :25
<html>
<head>
<title>web page</title>
<head>
<body>
<select name="dropdown">
<option value="female">Female</option></select>
<select name="dropdown">
<p><option value="India">India</option>
<option value="Other">Other</option>
</select>
</FORM></body>
</html>
Output :-
Male
choose your gender:
India
choose youre country:
Project :- 26
<html>
<head>
<title>web page</title>
<head>
<body>
<form>
</FORM></body>
</html>
Output :-
10MoARcPSD142725493
Project:-27
<html>
<head>
<title>web page</title>
<head>
<body>
<form>
</FORM></body>
</html>
Output :_
submit
reset