HTML
HTML
HTML
HTML
Container
Page
2
HTML
* font is work whnever u not close it and apply on the speicfic content
*when use start the style tag it apply on the whole content..
MARQUEE
Page
3
HTML
<HTML>
<HEAD>
<TITLE>FIRST PROGRAM</TITLE>
</HEAD>
<MARQUEE>NVNEET</MARQUEE>
</BODY>
</HTML>
LIST
LIST
A.ORDERED LIST =The <ol> tag defines an ordered list. An
ordered list can start with number 1, and continue through ORDERED UN-ORDERED
2, 3, 4, and so on……
<html>
<head>
<body >
<li>mango</LI> 3.ORANGE
2.MANGO
1.APPLE
Page
4
HTML
<li>orange</LI>
</ol |>
</HEAD>
</BODY>
</html>
B.UN-ORDERED LIST = a
bulleted list of items. Used to display related information in an easy-to-read and
concise way as lists.
<html>
<body >
<UL>
<li>apple</LI>
<li>mango</LI>
<li>orange</LI>
</UL>
</HEAD>
</BODY>
Page
5
HTML
</html>
<head>
<body>
<ul>
<li>FRUIT NAME</li>
<ol>
<li> Mango</li>
<li> Pear</li>
<li> Banana</li>
</ol>
Page
6
HTML
<ol>
<li> Capsicaum</li>
<li> Mint</li>
</OL>
</ul>
</body>
<\html>
Table
1.SIMPLE TABLE
<HTML>
<HEAD>
<TITLE>TABLE </TITLE>
<BODY>
<TABLE BORDER="2">
<TR>
Page
7
HTML
</TR>
<TR>
<TD>RAJ</TD>
<TD>RAJESH GUPTA</TD>
<TD>SONIYA GUPTA</TD>
</TR>
<TD>SIMMA</TD>
<TD>SUNIL SHARMA</TD>
<TD>MAMTA SHARM,A</TD>
</TR>
<TD>KOMAL SINGLA</TD>
<TD>HITESH SINGLA</TD>
<TD>PRIYA SINGLA</TD>
</TR>
</TABLE>
</BODY>
</HEAD>
</HTML>
Page
8
HTML
<head>
<title>table </title></head>
<body>
<tr>
<th>team</th>
</tr>
<tr>
<td> member</td>
<td>tc</td>
<td>ir</td>
<td>is</td>
<td>ir</td>
Page
9
HTML
</tr>
<TR>
<TD ROWSPAN="2">TEAM2</TD>
<TD>25</TD>
<TD>46</TD>
<TD>56</TD>
<TD>66</TD>
</TR>
<TR>
<TD>34</TD>
<TD>25</TD>
<TD>46</TD>
<TD>56</TD>
</TR>
<head>
Page
10
HTML
<title>table </title></head>
<body>
<TR>
<TH COLSPAN="6">INVOICE</TH>
</TR>
R1,MODEL TOWN,NEAR SINGLA MART ,KLW <BR> DEAL IN: ADVERTISEMENTS &
PRINTING DOCS<BR> E-MAIL : [email protected] </TH>
1006</TH>
<TH colspan="2">DATED<BR>
07-MAR-24
</TH>
</TR>
<TR>
<TR>
105/25FEB-2024</TD>
Page
11
HTML
</TR>
<TR>
<TR>
<TD colspan="2">DESTINATION</TD</TR>
<TR>
<tr>
<th ><b>RATE</b></th>
Page
12
HTML
<th ><b>PER</b></th>
<th><b>AMOUNT</B></TH>
<tr>
<td>1.</td>
<head>
<title>table </title></head>
<body>
<TR>
<TH COLSPAN="6">INVOICE</TH>
</TR>
R1,MODEL TOWN,NEAR SINGLA MART ,KLW <BR> DEAL IN: ADVERTISEMENTS &
PRINTING DOCS<BR> E-MAIL : [email protected] </TH></P>
1006</TH>
<TH colspan="2">DATED<BR>
07-MAR-24
Page
13
HTML
</TH>
</TR>
<TR>
<TR>
105/25FEB-2024</TD>
</TR>
<TR>
<TR>
Page
14
HTML
<TD colspan="2">DESTINATION</TD</TR>
<TR>
<tr>
<th ><b>RATE</b></th>
<th ><b>PER</b></th>
<th><b>AMOUNT</B></TH>
<tr >
<td >1.</td>
<TD> SECURITY <BR> UNARMED GUARD <BR> CLASS-IX LEVEL-1(RS PER PAGE
PHOTOCOPY )</TD>
<TD>40</TD>
<TD>70</TD>
<TD>PCS</TD>
<TD>2800</TD>
</TR>
<TR>
Page
15
HTML
<td>2.</td>
<TD>40</TD>
<TD>70</TD>
<TD>PCS</TD>
<TD>2800</TD>
</TR>
<TR>
<td>3.</td>
<TD>4</TD>
<TD>100</TD>
<TD>PCS</TD>
<TD>400</TD>
</TR>
<TR>
</TR>
<TR >
Page
16
HTML
<TD COLSPAN="6">5</TD><BR>
<BR>
</TR>
<TR>
<TD></TD>
<TD>TOTAL</TD>
<TD></TD>
<TD></TD>
<TD></TD>
<TD>6000</TD>
</TR>
<TR>
</TR>
<TR >
Page
17
HTML
</TR>
</HEAD>
</BODY>
</HTML>
Page
18
HTML
1. CELL PADDING == DEFINES THE SAPCE BETWEEN SIDES OF THE CELL AND ITS
SIZE.
<HTML>
<HEAD>
<TITLE>TABLE </TITLE>
<BODY>
<TABLE BORDER="2">
<TR>
</TR>
<TR>
<TD>RAJ</TD>
<TD>RAJESH GUPTA</TD>
<TD>SONIYA GUPTA</TD>
</TR>
<TD>SIMMA</TD>
<TD>SUNIL SHARMA</TD>
<TD>MAMTA SHARM,A</TD>
</TR>
Page
19
HTML
<TD>KOMAL SINGLA</TD>
<TD>HITESH SINGLA</TD>
<TD>PRIYA SINGLA</TD>
</TR>
</TABLE>
</BODY>
</HEAD>
</HTML>
2. CELL SPACING ==DEFINES THE SPACE BETWEEN CELL BORDERS AND CELLS.
<HTML>
<HEAD>
<TITLE>TABLE </TITLE>
<BODY>
<TABLE BORDER="2">
<TR>
</TR>
<TR>
Page
20
HTML
<TD>RAJ</TD>
<TD>RAJESH GUPTA</TD>
<TD>SONIYA GUPTA</TD>
</TR>
<TD>SIMMA</TD>
<TD>SUNIL SHARMA</TD>
<TD>MAMTA SHARM,A</TD>
</TR>
<TD>KOMAL SINGLA</TD>
<TD>HITESH SINGLA</TD>
<TD>PRIYA SINGLA</TD>
</TR>
</TABLE>
</BODY>
</HEAD>
</HTML>
<HTML>
Page
21
HTML
<HEAD>
<TITLE>TABLE </TITLE>
<BODY>
<TR>
</TR>
<TR>
<TD>RAJ</TD>
<TD>RAJESH GUPTA</TD>
<TD>SONIYA GUPTA</TD>
</TR>
<TD>SIMMA</TD>
<TD>SUNIL SHARMA</TD>
<TD>MAMTA SHARM,A</TD>
</TR>
<TD>KOMAL SINGLA</TD>
<TD>HITESH SINGLA</TD>
<TD>PRIYA SINGLA</TD>
Page
22
HTML
</TR>
</TABLE>
</BODY>
</HEAD>
</HTML>
4. BACKHGROUND
<TABLE BACKGROUND=”IMAGE”>
<TABLE BGCOLOR=””>
<TABLE STYLE=”BACKGROUND-IMAGE:url”>
<TABLE STYLE=”background-color:”>
6. TABLE BORDER
<HTML>
<HEAD>
<TITLE> TABULAR</TITLE></head>
<BODY>
<tr>
Page
23
HTML
</TR>
<TR >
</tr>
</body>
</html>
Page
CASCADING STYLE SHEETS
24 (CSS)
HTML
CSS is a set of specification (rules) that give u complete control over he layout of
your webpage and appearance of its content. Css describes how html elements
are to be displayed on screen, paper or in the others. Css saves a lot of work. It
can control the layout of multiple web pages all at once.
<html>
</style>
</head>
</body></head>
Css syntax
H1 (selector)
{Color:blue:font-size:12px;}
Value
Property
<head>
Page
25
HTML
<style type="text/css">
h1{colour:red;font-size:40px; font-family=algerian}
</style>
</head>
<body>
<h1>computer play a veery imprediment role in our life . in this era ... computer is
one of the basic necessities .... </h1>
<p>computer play a veery imprediment role in our life . in this era ... computer is
one of the basic necessities ...</p>
<h1> so, if you want make your future bright and enhance the knowledge related
to terchnology </h1>
<p> so, if you want make your future bright and enhance the knowledge related
to terchnology </p>
</body>
</html>
Page
26
HTML
<html>
<style type=”text/css”>
Table{background:green;color:white;fontsize:20px;}
</style>
</head>
<body>
Page
27
HTML
<table border=”2”>
<tr>
<td>name</td>
<td>roll no.</td>
</tr>
<tr>
<td> anshu</td>
<td>1023</td>
</table>
</body>
</html>
1. INTERNAL
INTERNAL CSS MAY USE IF ONE SINGLE HTML PAGE HAS UNIQUE STYLE ………
Page
28
HTML
Examples of internal:
2. EXTERNAL
WITH AN EXTERNAL CSS, WE CAN CHANGE THE LOOK OF AN ENTIRE
WEBSITES BY CHANGING JUST ONE FILE. <LINK>
<HTML>
<HEAD><LINK.REF="STYLESHEET"HREF="STYLE.CSS" TYPE="TEXT/CSS">
</HEAD>
<BODY>
<H1>HEADING</H1>
<P>PARAGRAPH</P>
</BODY></HTML>
3. INLINE CSS
INLINBE STYLE MAY BE USED TO APPLY A UNIQUE STYLE FOR A SINGLE
ELEMENTS. TO USE THE INLINE ELEMENT … THE STYLE ATTRIBUTE CAN
CONRAIN ANY CSS PROPERTY …………
Page
29