Professional Documents
Culture Documents
HTML Solved Practical 9TH Class 2023-2024
HTML Solved Practical 9TH Class 2023-2024
<h2>Ordered List:</h2>
<ol>
<li>First item</li>
<li>Second item</li>
<li>Third item</li>
</ol>
<h2>Unordered List:</h2>
<ul>
<li>Red</li>
<li>Green</li>
<li>Blue</li>
</ul>
<h2>Definition List:</h2>
<dl>
<dt>HTML</dt>
<dd>HyperText Markup Language</dd>
<dt>CSS</dt>
<dd>Cascading Style Sheets</dd>
<dt>JS</dt>
<dd>JavaScript</dd>
</dl>
</body>
</html>
4/6.5.1 write HTML code to: * a. insert an image b. apply border to an image;
<!DOCTYPE html>
<html>
<head>
<title>Image Example</title>
</head>
<body>
<h1>Image Example</h1>
</body>
</html>
10/6.6.4 create a graphical hyperlink;
<!DOCTYPE html>
<html>
<head>
<title>Graphical Hyperlink Example</title>
</head>
<body>
<h1>Graphical Hyperlink Example</h1>
<a href="https://www.example.com"><img src="image.jpg" alt="Example Image"></a>
</body>
</html>
11/6.7.1 write HTML code to create a table in the webpage with the following table attributes: a. table
border b. border colour c. background colour d. table width e. table height f. table row g. standard cell h.
header cell ;
<!DOCTYPE html>
<html>
<head>
<title>Table Attributes Example</title>
</head>
<body>
<h1>Table Attributes Example</h1>
</body>
</html>
12/ 6.8.3 create a frameset with multiple frames.
<!DOCTYPE html>
<html>
<head>
<title>Frameset Example</title>
</head>
<frameset rows="50%, 50%">
<frame src="frame1.html" name="topFrame">
<frameset cols="50%, 50%">
<frame src="frame2.html" name="leftFrame">
<frame src="frame3.html" name="rightFrame">
</frameset>
</frameset>
</html>