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>
<p>This is a small paragraph describing the content of my first webpage. I'm excited to
start my journey in web development!</p>
</body>
</html>
Code:
Result:
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>
<title>
My First Webpage
</title>
</head>
<body>
My First Webpage
</h1>
This is a small paragraph describing the content of my first webpage. I'm excited to start my
journey in web development!
</p>
</body>
</html>
SCREENSHOT OF CODE AND ITS RESULT:
Code:
Result:
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>
SCREENSHOT OF CODE AND ITS RESULT:
Code:
Result:
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>
<div>
<h2>Grouped Content</h2>
</div>
</body>
</html>
SCREENSHOT OF CODE AND ITS RESULT:
Code:
Result:
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>
<address>
Visit us at:<br>
Example.com<br>
India
</address>
</body>
</html>
SCREENSHOT OF CODE AND ITS RESULT:
Code:
Result:
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>
<td>b+</td>
</tr>
<tr>
<td>Graduation </td>
<td> </td>
</tr>
</table>
</body>
</html>
SCREENSHOT OF CODE AND ITS RESULT:
Code:
Result: