EXPIREMENT HTML
EXPIREMENT HTML
QUESTION:
Design your first webpage displaying a big heading and small paragraph using HTML?
CODE:
<!DOCTYPE html>
<html>
<head>
</head>
<body>
</body>
</html>
Code:
Page 1
Result:
Page 2
EXPIREMENT-2
QUESTION:
Design a web page displaying “My first web page by adding following tags including font
change, color change and changed font size using HTML?
CODE:
<!DOCTYPE html>
<html>
<head>
</head>
<body>
My First Webpage
</h1>
</p>
</body>
</html>
Page 3
Code:
Result:
Page 4
EXPIREMENT-3
QUESTION:
Write a HTML program to display text using different attributes like left alignment, center
alignment, center alignment, and style attribute (to and color).
CODE:
<!DOCTYPE html>
<html>
<head>
</head>
<body>
<p style="color: blue; text-align: left;">This is a left-aligned text with blue color style.</p>
<p style="color: green; text-align: center;">This is a center-aligned text with green color
style.</p>
<p style="color: red; text-align: right;">This is a right-aligned text with red color
style.</p>
</body>
</html>
Page 5
SCREENSHOT OF CODE AND ITS RESULT:
Code:
Result:
Page 6
EXPIREMENT-4
QUESTION:
Write a HTML program to display text using different formatting styles like bold text, italic
text, underlined text, strike text, monospaced font, superscript text, subscript text, inserted
text, inserted text, deleted text, large text, smaller text, and grouping content?
CODE:
<!DOCTYPE html>
<html>
<head>
</head>
<body>
Page 7
<!-- Deleted Text -->
<div>
<h2>Grouped Content</h2>
</div>
</body>
</html>
Page 8
SCREENSHOT OF CODE AND ITS RESULT:
Code:
Page 9
Result:
Page 10
EXPIREMENT-5
QUESTION:
Write a program using different phrase tags like; emphasized text, marked text, strong text,
text abbreviation, acronym element, text direction, special terms, quoting text, short
quotations, text citation, computer code, keyboard text, programing variables, program
output, and address text.
CODE:
<!DOCTYPE html>
<html>
<head>
</head>
<body>
Page 11
<!-- Text Direction -->
Page 12
<!-- Address Text -->
<address>
Visit us at:<br>
Example.com<br>
India
</address>
</body>
</html>
Page 13
SCREENSHOT OF CODE AND ITS RESULT:
Code:
Page 14
Result:
Page 15
EXPIREMENT:6
QUESTION:
CODE:
<!DOCTYPE html>
<html>
<head>
<title>Education Details</title>
</head>
<body>
<table border="1">
<tr>
<th>Degree</th>
<th>Institution</th>
<th>Year of Passing</th>
<th>Grade</th>
</tr>
<tr>
<td>Tenth</td>
<td>2021-22</td>
<td>b+</td>
</tr>
<tr>
<td>twelth</td>
Page 16
<td>2023-24</td>
<td>b+</td>
</tr>
<tr>
<td>Graduation </td>
<td> </td>
</tr>
</table>
</body>
</html>
Page 17
SCREENSHOT OF CODE AND ITS RESULT:
Code:
Page 18
Result:
Page 19