HTML PROGRAMS CLASS X 26/8/2021
1. NO. 1 BASIC STRUCTURE OF HTML:-
<html>
<head>
<title>
my first webpage </title>
</head>
<body>
html stands
for hypertext markup language.
html was
developed by Tim Berners Lee.
</body>
</html>
OUTPUT
2. To make the background appear black,
text lime, links yellow, recently visited links red and selected link as cyan.
<html>
<head>
<title> attribute of body tag </title>
</head>
<body bgcolor="black" text="lime"
link="red" alink="cyan">
html stands for hypertext markup language.
html was developed by Tim Berners Lee.
color name hexadecimal RGB value
aqua # 00FFFF
black # 000000
</body>
</html>
Output
3. To display multiple headings in
multiple forms using H1…..H6 tags.
<html>
<head>
<title> attribute of body tag
</title>
</head>
<body>
<h1> there is no substitute of
HARDWORK. </h1>
<h2> there is no substitute of
HARDWORK. </h2>
<h3> there is no substitute of
HARDWORK. </h2>
<h4> there is no substitute of
HARDWORK. </h2>
<h5> there is no substitute of
HARDWORK. </h2>
<h6> there is no substitute of
HARDWORK. </h2>
</body>
</html>
OUTPUT :-
Comments
Post a Comment