0% found this document useful (0 votes)
4 views7 pages

Web Engineering Lab 3

The document outlines a lab exercise for learning HTML attributes at Quaid-e-Awam University. It includes various tasks demonstrating different HTML attributes such as align, title, style, and text formatting options. Students are required to submit their solutions by email by August 31, 2016.

Uploaded by

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

Web Engineering Lab 3

The document outlines a lab exercise for learning HTML attributes at Quaid-e-Awam University. It includes various tasks demonstrating different HTML attributes such as align, title, style, and text formatting options. Students are required to submit their solutions by email by August 31, 2016.

Uploaded by

Javed Oad
Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd

QUAID-E-AWAM UNIVERSITY OF ENGINEERING, SCIENCE & TECHNOLOGY, NAWABSHAH

Subject: Web Engineering

Lab 3 HTML Attributes

Objective: To learn HTML Attributes.

Tools. Notepad or any other simple text editor and a web browser.

Note: The main purpose of this lab is to have some hands on practice with HTML. You will have to
submit your solution for the lab by email. Last date to submit the lab 31 August 2016

Task 1. Align Attribute Example

<html>

<head>

<title>Align Attribute Example</title>

</head>

<body>

</html>

Task 2. The title Attribute Example

<html>

<head>

<title>The title Attribute Example</title>

</head>

<body>

<h3 title="Hello HTML!">Titled Heading Tag Example</h3>

</body>

</html>

Task 3. The style Attribute

<html>
<head>

<title>The style Attribute</title>

</head>

<body>

<p style="font-family:arial; color:#FF0000;">Some text...</p>

</body>

</html>

Task 4. Bold Text Example

<html>

<head>

<title>Bold Text Example</title>

</head>

<body>

<p>The following word uses a <b>bold</b> typeface.</p>

</body>

</html>

Task 5. Italic Text Example

<html>

<head>

<title>Italic Text Example</title>

</head>

<body>

<p>The following word uses a <i>italicized</i> typeface.</p>


</body>

</html>

Task 6. Underlined Text Example

<html>

<head>

<title>Underlined Text Example</title>

</head>

<body>

<p>The following word uses a <u>underlined</u> typeface.</p>

</body>

</html>

Task 7. Strike Text Example

<html>

<head>

<title>Strike Text Example</title>

</head>

<body>

<p>The following word uses a <strike>strikethrough</strike> typeface.</p>

</body>

</html>

Task 8. Monospaced Font Example

<html>
<head>

<title>Monospaced Font Example</title>

</head>

<body>

<p>The following word uses a <tt>monospaced</tt> typeface.</p>

</body>

</html>

Task 9. Superscript Text Example

<html>

<head>

<title>Superscript Text Example</title>

</head>

<body>

<p>The following word uses a <sup>superscript</sup> typeface.</p>

</body>

</html>

Task 10. Subscript Text Example

<html>

<head>

<title>Subscript Text Example</title>

</head>

<body>

<p>The following word uses a <sub>subscript</sub> typeface.</p>


</body>

</html>

Task 11. Inserted and deleted Text Example

<html>

<head>

<title>Inserted Text Example</title>

</head>

<body>

<p>I want to drink <del>cola</del> <ins>wine</ins></p>

</body>

</html>

Task 12. Larger Text Example

<html>

<head>

<title>Larger Text Example</title>

</head>

<body>

<p>The following word uses a <big>big</big> typeface.</p>

</body>

</html>

Task 13. Smaller Text Example

<html>
<head>

<title>Smaller Text Example</title>

</head>

<body>

<p>The following word uses a <small>small</small> typeface.</p>

</body>

</html>

Task 14. Div Tag Example

<html>

<head>

<title>Div Tag Example</title>

</head>

<body>

<div id="menu" align="middle" >

<a href="/[Link]">HOME</a> |

<a href="/about/contact_us.htm">CONTACT</a> |

<a href="/about/[Link]">ABOUT</a>

</div>

<div id="content" align="left" bgcolor="white">

<h5>Content Articles</h5>

<p>Actual content goes here.....</p>

</div>

</body>

</html>
Task 15. Span Tag Example

<html>

<head>

<title>Span Tag Example</title>

</head>

<body>

<p>This is the example of <span style="color:green">span tag</span> and the <span


style="color:red">div tag</span> along with CSS</p>

</body>

</html>

Task 16. Create a web page using HTML to display your CV.

You might also like