Assignment 1
Student Table and HTML Tags Table
This webpage demonstrates how HTML tables can be used to organize structured information and how CSS improves readability and visual presentation.
Student Table
Sample student records displayed in a clean table layout.
| Student ID | Student Name | Department |
|---|---|---|
| ST-101 | Aarav Shah | Computer Science |
| ST-102 | Diya Mehta | Information Technology |
| ST-103 | Rohan Kulkarni | Artificial Intelligence |
| ST-104 | Neha Patil | Data Science |
| ST-105 | Yash Joshi | Cybersecurity |
HTML Tags Table
Commonly used HTML tags, their syntax, and their main purpose in a webpage.
| Tag | Syntax | Purpose |
|---|---|---|
| <!DOCTYPE html> | <!DOCTYPE html> | Declares the document as an HTML5 page. |
| <html> | <html>...</html> | Represents the root element of the webpage. |
| <head> | <head>...</head> | Stores metadata, links, and document settings. |
| <title> | <title>Page Title</title> | Sets the title shown on the browser tab. |
| <table> | <table>...</table> | Creates a table for structured content. |
| <tr> | <tr>...</tr> | Defines a row inside a table. |
| <th> | <th>Heading</th> | Creates a heading cell in a table. |
| <td> | <td>Value</td> | Creates a standard data cell. |
| <div> | <div>...</div> | Groups content into sections for layout. |
| <img> | <img src="image.jpg" alt="description" /> | Displays an image on the page. |
| <span> | <span>Text</span> | Styles or groups inline text content. |
| <style> | <style>...</style> | Defines internal CSS styles for the page. |
| <script> | <script>...</script> | Adds JavaScript behavior to the document. |