Sachin HTML
Sachin HTML
HTML
down the foundations for building web pages. Some of its primary
characteristics were:
other words, there was minimal scope for changing the text style or
size.
Nonetheless, HTML 1.0 initiated the field of web development, and its
had to follow.
which allowed users to input data on web pages. However, the forms
were still basic and only contained text boxes and buttons.
Tables: HTML 2.0 introduced the <table> tag for creating tabular data
the W3C (World Wide Web Consortium) was formed. This helped web
HTML 3.2 was the next major successor to HTML 2.0 and was
elements.
content.
4. HTML 4.01
apply the styles. However, with 4.01, CSS files could be linked
and included in each HTML page using the <link> tag. This helped
code.
New Tags: HTML 4.01 also introduced some new tags like
XHTML 1.0 stands for Extensible HyperText Markup Language 1.0 and
<Example>the first tag is the opening tag that indicates the start, while
the second tag is the closing tags that depicts the end </example>.
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.
<p>this is a paragraph</p>
In the above example, the opening <p> tag indicates the start of a
new paragraph. The </p> is the closing tag that ends it.
It is very important to open and close tags. It tells the web browser
when a piece of code begins and ends so that it can distinguish it
from other sections of the page.
BASIC TAGS IN HTML
<head>
<title>Creating a customized ordered list</title>
</head>
<body>
<h1>Names of Months</h1>
<p>
<ol type="I">
<li>January
<li>February
<li>March
<li>April
<li>May
<li>June
<li>July
<li>August
<li>September
<li>October
<li>November
<li>December
</ol>
</p>
</body>
</html>
OUTPUT
PROGRAM TO CREATE
UNORDERED LIST
<html>
<head>
<title>Unordered List</title>
</head>
<body>
<h2>Fruits</h2>
<hr>
<ul>
<li>Apple</li>
<li>Banana</li>
<li>Orange</li>
<li>Strawberry</li>
<li>Grape</li>
<li>Water Melon</li>
<li>Pear</li>
<li>Pineapple</li>
</ul>
</body>
</html>
OUTPUT
PROGRAM TO CREATE DESCRIPTION
LIST
<html>
<head>
<title> Description List </title>
</head>
<body bgcolor="lightgreen">
<h1> Description list Example </h1>
<dl>
<dt> HTML </dt>
<dd> Hypertext Markup Language, standard markup
language for Web pages. </dd>
<dt> CSS </dt>
<dd>Cascading Style Sheets, used for styling and layout of
Web pages. </dd>
<dt> JAVASCRIPT </dt>
<dd> Programming language used for client-side scripting
on the Web. </dd>
</dt>
</body>
</html>
OUTPUT
PROGRAM TO CREATE NESTED
LIST
<html>
<head>
<title>Nested Iist</title>
</head>
<body>
<h1 align=center><u>Internet club</u></h1>
<ol>
<li><b>Teacher of management department
<ul>
<li>Meenakshi mam
<li>Omita mam
<li>Ankita mam
</ul>
<li><b>student of BBA-CAM
<ul>
<li>Preeti
<li>Aanchal
<li>Sakshi
<li>Saloni
</ul>
</ol>
</body>
</html>
OUTPUT
PROGRAM TO DISPLAY
AN IMAGE
<html>
<head>
<title>Image tag</title>
</head>
<body bgcolor="skyblue">
<img src="C:\Users\Desktop\digitalmarketing.jpeg"
width="40%"height="60%">
</img src>
</body>
</html>
OUTPUT
PROGRAM TO CREATE A
MARQUEE
<html>
<head>
<title>Programming</title>
</head>
<body bgcolor="pink">
<marquee behaviour="scroll"scrollamount="50"
direction="right"bgcolor="red"width="60%"height=
"20%"><fontsize="48">Internet
Technology</marquee>
<b><h1>Search engine</b>
<u><h2>Intranet</u>
<i><h3>Enterprise Collaboration System</i>
<strong><h4>DHTML</strong>
</body>
</html>
OUTPUT
PROGRAM TO CREATE A
HYPERLINK
<html>
<head>
</head>
<body bgcolor="pink">
Table</a>
</body>
</html>
OUTPUT
<head>
<title>abbreviation</title>
</head>
<body bgcolor="orange">
</body>
</html>
OUTPUT
PROGRAM TO CREATE HORIZONTAL
RULE
<html>
<head>
<title>Horizontal rule</title>
</head>
<body bgcolor="skyblue">
<hr>
<h1>Heading 1</h1>
<p>Paragraph 1;This is first paragraph of horizontal rule program.</p>
</hr>
<hr>
<h2>heading 2</h2>
<p>Paragraph 2;This is second paragraph of horizontal rule
program.</p>
</hr>
<hr>
<h3>Heading 3</h3>
<p>Paragraph;This is the third paragraph of horizontal rule
program.</p>
</hr>
</body>
</html>
OUTPUT
PROGRAM TO CREATE A TABLE
SHOWING TIME TABLE
<html>
<head>
<title>Table tag</title>
</head>
<body bgcolor="sky blue">
<table cellpadding ="6" cellsapcing="2"bgcolor="orange"
bordercolor="purple" border="5">
<h2 align=center><b><u>Time Table</u></b></h2>
<tr>
<th>TIME
<th>9:00AM-9:45AM
<th> 9:45AM-10:30AM
<th>10:30AM-11:15AM
<th>11:15AM-12:00AM
<th>12:00AM-12:45AM
<th>12:45AM-1:30AM
</th></tr>
<tr>
<td><b>SUBJECT
<td>HUMAN RESOURCE MANAGEMENT
<td>DISASTER MANAGEMENT
<td>FINANCIAL MANAGEMENT
<td>PRODUCTION MANAGEMENT
<td> MARKETING MANAGEMENT
<td>INTERNET TECHNOLOGY
</tr>
<tr>
<td><b>TEACHER NAME
<td>MRS. JYOTI
<td>MRS. BHANU
<td>MRS. PARVEEN
<td>MRS. RITA DAGAR
<td>MRS. OMITA
<td>MRS. MEENAKSHI
</tr>
</body>
</html>
OUTPUT