Lab 1-3 HTML CODES
Lab 1-3 HTML CODES
Solution:-
<HTML>
<H1>ALI</H1>
<P><B>Student of MIT</B><BR>
<P> I choose VU to realize my dreams. VU has steered my career in the right direction <A
HREF = http://www.vu.edu.pk/cs101/ ></A></P>
</BODY>
</HTML>
3. You must be sure to save the file with ".html" extension because Notepad will otherwise
add ".txt" extension.
4. Open the saved file in any web browser i.e. Google chrome.
Solution:-
<html>
<head><title>Table Creation</title></head>
<body>
<H1 align="center">VU Student Data<H1><br><br>
<table border="1" align="center">
<tr> <th align = "center">VU Id</th>
<th align = "center">Name</th>
<th align = "center">Last Degree</th>
</tr>
<tr>
<td align = "center">BC123456</td>
<td align = "center">Javed</td>
<td align = "center">MBA</td>
</tr>
<tr>
<td align = "center">BC987654</td>
<td align = "center">Umer</td>
<td align = "center">MIT</td>
</tr>
<tr> <td align = "center">BC4512875</td>
<td align = "center">Farukh</td>
<td align = "center">MCS</td>
</tr></table>
</body></html>