Shri Ramswaroop Memorial University
Demonstrate hierarchical content organization using HTML heading elements (h1-h6).
<h1>Main Title (h1)</h1> <h2>Section Heading (h2)</h2> <h3>Subsection (h3)</h3> <h4>Sub-subsection (h4)</h4> <h5>Minor Heading (h5)</h5> <h6>Meta Heading (h6)</h6>
Implement ordered and unordered lists to present structured information.
<!-- Unordered List --> <ul> <li>Web Technologies <ul> <li>HTML</li> <li>CSS</li> </ul> </li> </ul> <!-- Ordered List --> <ol type="A"> <li>First Item</li> <li>Second Item</li> </ol>
Learn how to create a simple newspaper layout using HTML tables to structure content.
<table border="1" width="100%"> <tr> <th>Headline</th> <th>Date</th> </tr> <tr> <td>Breaking News: WebTech Lab!</td> <td>2025-02-05</td> </tr> </table>
Learn how to display images using the <img> tag in HTML.
<!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <title>Image Display</title> </head> <body> <h2>Displaying an Image with Content</h2> <p>Below is an example of displaying an image using the <img> tag.</p> <img src="https://onedaystudy.online/uploaded_files/aAqgsiCaLauYwljIEuGH.png" alt="Sample Image" width="350" height="200"> <p>This is a sample image demonstrating the use of the <img> tag in HTML.</p> </body> </html>
Learn how to use the <a> tag to create navigation menus in HTML.
<!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <title>Menu Navigation</title> <style> body { font-family: Arial, sans-serif; } .menu { background-color: #333; padding: 10px; } .menu a { color: white; text-decoration: none; padding: 10px 15px; display: inline-block; } .menu a:hover { background-color: #575757; } </style> </head> <body> <h2>Website Navigation Menu</h2> <div class="menu"> <a href="home.html">Home</a> <a href="about.html">About</a> <a href="services.html">Services</a> <a href="contact.html">Contact</a> </div> <p>Click on the menu items to navigate to different sections of the website.</p> </body> </html>
Learn how to use an image map to create clickable areas within an image that correspond to different links.
<img src="image.jpg" usemap="#equipmentMap" alt="Sports Equipment" width="600" height="400"> <map name="equipmentMap"> <area shape="rect" coords="30,50,100,100" href="bat.htm" alt="Bat"> <area shape="rect" coords="120,50,190,100" href="ball.htm" alt="Ball"> <area shape="rect" coords="200,50,270,100" href="st.htm" alt="Stump"> </map>
Create frames to display information about various cities and allow interaction between the frames.
<frameset rows="30%,70%"> <frame src="city_list.htm" name="cityList"> <frame src="default_city.htm" name="cityDetails"> </frameset>
Learn how to create a form using checkboxes to allow users to select multiple food items from a restaurant menu.
<form action="" method="POST"> <label>Pizza</label> <input type="checkbox" name="food" value="Pizza"> <label>Pasta</label> <input type="checkbox" name="food" value="Pasta"> <label>Burger</label> <input type="checkbox" name="food" value="Burger"> <input type="submit" value="Submit"> </form>
Learn how to automatically reload a webpage every 5 seconds using the meta tag.
<meta http-equiv="refresh" content="5">
Learn how to style a webpage using CSS to change the background color, font, and paragraph appearance.
<style> body { background-color: lightblue; font-family: Arial, sans-serif; } p { font-size: 18px; line-height: 1.5; } </style>