Practice Problems (Practical 1-2)
Practical 1: Write HTML script to generate a webpage layout with header, navigation,
main content area, sidebar, and footer using semantic HTML5 tags.
Practical 2: Create an HTML table displaying student information (Roll No, Name, Email,
Phone) with proper thead, tbody, and formatting.
Q1: What is the difference between semantic and non-semantic HTML tags? Give examples.
Q2: Explain the purpose of meta tags and their attributes (charset, viewport,
description).
Q3: How do you create a hyperlink? What are the different target attribute values?
Q4: Differentiate between <strong> and <b>, <em> and <i>.
Q5: How would you embed a YouTube video in an HTML page?
Q6: Create an HTML page with an image gallery using <figure> and
<figcaption> tags.
Q7: Explain the colspan and rowspan attributes in table tags with examples.
Q8: Create nested lists showing a course syllabus with units and topics.