0% found this document useful (0 votes)
24 views

Assignment 1 Ajay 2

Uploaded by

Ajay Bakshi
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
24 views

Assignment 1 Ajay 2

Uploaded by

Ajay Bakshi
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 6

Name : Ajay Kumar Group : 10 am to 12 pm (Saturday)

Student ID : FZ23114169

ASSIGNMENT-1 (PROGRAM UTILITY


SOFTWARE)
PRACTICAL 1
Introduction to HTML. Create a basic HTML file
HTML is a text document with formatting codes and this
document has the suffix “.html” or “.htm”.
Just write down above code in the notepad editor and save
this file with the extension of .html or .htm and then double
click on that file you will get output on the default web
browser.
OUTPUT
PASTE THE SCREENSHOT .
PRACTICAL –2
WRITE THE HTML CODE FOR THE BELOW TABLE
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Table</title>
<style> td{
border: 1px solid
}
</style>
</head>
<body>
<table style="border: 1px solid">
<tr>
<th rowspan="2" style="border: 1px solid">Unit No.</th>
<th rowspan="2" style="border: 1px solid">Unit Title</th>
<th rowspan="2" style="border: 1px solid">Teaching Hours</th>
<th colspan="4" style="border: 1px solid">Distribution of theory marks</th>
</tr>
<tr>
<td>R Level</td>
<td>U Level</td>
<td>A Level</td>
<td>Total marks</td>
</tr>
<tr>
<td>1</td>
<td>Introduction to Internet Technology</td>
<td>2</td>
<td>4</td>
<td>4</td>
<td>0</td>
<td>8</td>
</tr>
<tr>
<td>2</td>
<td>Basics of HTML & CSS</td>
<td>6</td>
<td>0</td>
<td>2</td>
<td>6</td>
<td>8</td>
</tr>
<tr>
<td>3</td>
<td>Active Server pages 3.0</td>
<td>6</td>
<td>4</td>
<td>8</td>
<td>0</td>
<td>12</td>
</tr>
<tr>
<td>4</td>
<td>Server Side coding with VBScript and XML</td>
<td>8</td>
<td>2</td>
<td>4</td>
<td>8</td>
<td>14</td>
</tr>
<tr>
<td>5</td>
<td>ASP objects and components</td>
<td>10</td>
<td>4</td>
<td>4</td>
<td>6</td>
<td>14</td>
</tr>
<tr>
<td>6</td>
<td>Accessing database with ASP & ADO</td>
<td>10</td>
<td>4</td>
<td>4</td>
<td>6</td>
<td>14</td>
</tr>
<tr>
<td></td>
<th style="border: 1px solid">Total</th>
<th style="border: 1px solid">42</th>
<th style="border: 1px solid">18</th>
<th style="border: 1px solid">26</th>
<th style="border: 1px solid">26</th>
<th style="border: 1px solid">70</th>
</tr>
</table>
</body>
</html>

PRACTICAL 3:
EXPLAIN ALL TAGS OF HTML WITH SYNTAX AND EXAMPLE.
<Html> this Tag forms the basic structure of all code and includes every other tags.
Example : as shown in above code.

<Head> this Tag is used to import other files or to style the document.
Example : We used style to format every <td> tag above.

<body> this tag consists of actual content which is visible in a webpage.


Example : The table shown as output

<B>,<I>,<U> these tags are respectively used to make the text bold, italics or
underline.
Example : Hello Hello Hello

<Big>, <small> Makes the tags Big or Small respectively.

Example : Hello Hello

Other Formatting tags include <Cite>,<em>,<strong>,<teletype>,<strike>, <sub>


and <sup>
These tags are used to format the text to look or position differently.
Example : <em> = Hello
PRACTICAL 4:
Write a program to print a paragraph with different font and
color.
<html>
<body>
<p>
<font face="Arial" color="red">
Lorem Ipsum has been the industry's standard dummy text ever since the 1500s.
</font>
<font face="Times New Roman" color="green">
It is the core Lorem Ipsum is simply dummy text of the printing and typesetting
industry.
</font>
<font face="Verdana" color="blue"> It has survived not only five centuries.
</font>
<font face="Helvetica" color="yellow">
It is a long established fact that a reader will be distracted by the readable
content of a page when looking at its layout.
</font>
</p>
</body>
</html>

You might also like