Programming in HTML of, 1. Heading tag 2. Atrribute of heading tag and body tag 3. Physical style tag and body attribute background.
Answers
Answered by
3
first of all, to open HTML tab, we should type Control + 0 button.
1..HEADING TAG :
<!__PROGRAM FOR HEADING TAG__!>
<html>
<head title>
<body>.
1..HEADING TAG :
<!__PROGRAM FOR HEADING TAG__!>
<html>
<head title>
<body>.
Answered by
2
Hello friend! I am glad to help you, here is the answer.
Following are the programming:
1. Heading tag
<!--Program for heading tag--!>
<html>
<head><title> Heading tag</title></head>
<body>
<h1>Welcome</h1>
<h2>Welcome</h2>
<h3>Welcome</h3>
<h4>Welcome</h4>
<h5>Welcome</5>
<h6>Welcome</6>
</body>
</html>
2. Attribute of Heading Tag and Body Tag
<!Doctype html>
<!--Program for attributes of heading tag and body tag--!>
<html>
<head><title>Hn & Body attributes</title></head>
<body text=white bgcolor=blue>
<h1 align="center"> I'm aligned to center</h1>
<h2 align="left">I'm aligned to left</h2>
<h3 align="right>I'm aligned to right</h3>
<h4 align="center>I'm aligned to center</h4>
</body>
</html>
3. Physical style tag and body attribute background
<--! Program for Physical Style Tags & Body Attribute Background--!>
<html>
<head><title>Nested Formatting Tags</title></head>
<body background="photo.jpg">
<b><i><big>These are nested tags</big></i></b>
<u><h5>you can nest as many tags you want</h5></u>
</body>
</html>
I hope this will help you. Thank you.
-BRAINLYSTARÂ ROSETA
Following are the programming:
1. Heading tag
<!--Program for heading tag--!>
<html>
<head><title> Heading tag</title></head>
<body>
<h1>Welcome</h1>
<h2>Welcome</h2>
<h3>Welcome</h3>
<h4>Welcome</h4>
<h5>Welcome</5>
<h6>Welcome</6>
</body>
</html>
2. Attribute of Heading Tag and Body Tag
<!Doctype html>
<!--Program for attributes of heading tag and body tag--!>
<html>
<head><title>Hn & Body attributes</title></head>
<body text=white bgcolor=blue>
<h1 align="center"> I'm aligned to center</h1>
<h2 align="left">I'm aligned to left</h2>
<h3 align="right>I'm aligned to right</h3>
<h4 align="center>I'm aligned to center</h4>
</body>
</html>
3. Physical style tag and body attribute background
<--! Program for Physical Style Tags & Body Attribute Background--!>
<html>
<head><title>Nested Formatting Tags</title></head>
<body background="photo.jpg">
<b><i><big>These are nested tags</big></i></b>
<u><h5>you can nest as many tags you want</h5></u>
</body>
</html>
I hope this will help you. Thank you.
-BRAINLYSTARÂ ROSETA
Similar questions