Professional Documents
Culture Documents
TASK: To create a simple HTML file to demonstrate the use of different tags.
Procedure:-
1. Create an html page named as “Simple _html_tags.html”
2. Add the following tags detail.:
i. Set the title of the page as “Simple HTML Tags”
ii. Within the body perform the following:
a) Moving text = “Simple HTML Tags”
b) Different heading tags (h1 to h6)
c) Paragraph
d) Horizontal line
e) Line Break
f) Block Quote
g) “Pre” tag
h) Different Logical Style (<b>, <c>, <sub>, <sup>….)
i) Different Physical style (<code>, <del>, <kbd>…)
j) Listing tags (provide different “type” attribute)
Approach:-
In your development environment (e.g. notepad, Sublime, etc.), copy and paste the HTML code
below, and then save the file with the mentioned file name (i.e. with .html extension).
NB: If the “.html” file type is not available in the “Save As Type” in the “Save” dialog box,
choose “All Files”.
<html>
<title> Simple HTML Tags Title</title>
<body>
<marquee> Simple Tags</marquee>
<center><font color="#0000FF"> Heading
Tags</font></center>
<h1> Heading H1</h1>
<h2> Heading H2</h2>
<h3> Heading H3</h3>
<h4> Heading H4</h4>
<h5> Heading H5</h5>
<h6> Heading H6</h6>
<hr>
<center><FONT COLOR="#0000FF"> Line break
Tags</FONT></center>
This is a long piece of text consisting of three<BR>
sentences and shows you the functions of the<BR>
Line Break tag. This tag is used quite
frequently<BR>
to add line breaks in the HTML code. It is also
used<BR>
to add blank lines to a document. <BR>
<hr>
</blockquote>
<hr>
<center><FONT COLOR="#0000FF"> PRE Tags</FONT></center>
<pre>
IT 206 JAVA
IT306 WEB SYSTEMS
IT322 WEB SYSTEMS LAB
</PRE>
<HR>
<center> <FONT COLOR="#0000FF"> Logical style </FONT></center>
This is <b>bold</b> This is bold<br>
This is <big>big font</big> This is big font<br>
This is <i>italic</i> This is italic<br>
Was <s>$50</s>; now $40 Was $50; now $40<br>
H<sub>2</sub>O H2O<br>
May 5<sup>th</sup> 2005 May 5th 2005<br>
<tt>fixed-width font</tt> fixed-width font<br>
This is <u>underlined</u> This is underlined<br>
<br>
<hr>
<center> <FONT COLOR="#0000FF"> Physical Style </FONT></center>
This is used for a short <cite>quote</cite>. This is used for a
short quote. <br>
<code>y = m * x + b</code> y = m * x + b <br>
<del>Deleted</del> text Deleted text<br>
<dfn>definition</dfn> text definition text<br>
This is <em> emphasized </em>. This is emphasized<br>.
<ins>inserted</ins> text inserted text<br>
<kbd>code</kbd> sample code sample<br>
<samp>code</samp> sample code sample<br>
This is <strong>strong</strong>. This is strong. <br>
<var>program</var> variable program variable<br>
<br>
<hr>
<h4>Letters list:</h4>
<ol type="A">
<li>Apples</li>
<li>Bananas</li>
<li>Lemons</li>
<li>Oranges</li>
</ol>
Consider the static web pages required for an Amazon Books World online book store:
1) HOME PAGE
2) LOGIN PAGE:
3) CATOLOGUE PAGE:
The catalogue page should contain the details of all the books available in the web
site in a table. The details contain the following:
a. Snapshot of Cover Page.
b. Author Name.
c.Publisher.
d. Price.
e. Add to cart button.
4) CART PAGE:
The cart page contains the details about the books which are added to the cart.
5) REGISTRATION PAGE:
A form with fields:
1) Name (Text field)
2) Password (password field)
3) E-mail id (text field)
4) Phone number (text field)
5) Sex (radio button)
6) Date of birth (3 select boxes)
7) Languages known (check boxes – Ewe, English, Akan)
8) Address (text area)
TASK:
As the new “Web Design Intern” at Amazon Books World, you have been asked to overhaul the
company’s current website (code provided). Your task is to:
i. Study the current code to understand the various HTML elements and attributes
used. Take note of all the new HTML elements and attributes (e.g. tables, frames,
etc.), and “internal” CSS, that have been provided.
(Refer to the course’s textbook and resources for clarification)
ii. Redesign the website to comply with XHTML 4.01 strict document type description
(DTD) standards. (Do NOT change the values of the background colours: “bgcolor”)
iii. Debug issues you encounter.
iv. Provide your own set of applicable images (*.jpg, *.png).
SUBMISSION:
Your final deliverable should contain all the saved files, together with your images, in a zipped
folder. This folder should be saved with your student ID (eg. 100100.zip) and submitted on
Courseware by 11:00pm on Friday September 8th, 2017.
THE CURRENT WEBSITE FILES OF AMAZON BOOKS WORLD
<table width="100%">
<tr><td><img src="xml.jpg"></td>
<td>Book: XML
Bible<br>
Author:
Winston<br>
Publication
: Wiley
</td>
<td>$ 40.5</td>
<td><img src="cartbutton.jpg"></td>
</tr>
<tr><td><img src="html.jpg"></td>
<td>Book : HTML in
24 hours<br>
Author : Sam
Peter<br>
Publication :
Sam publication
</td>
<td>$ 50</td>
<td><img src="cartbutton.jpg"></td>
</tr>
<tr><td><img src="ai.jpg"></td>
<td>Book : AI<br>
Author :
S.Russel<br>
Publication :
Princeton
hall
</td>
<td>$ 63</td>
<td><img src="cartbutton.jpg"></td>
</tr>
<tr><td><img src="java.jpg"></td>
<td>Book :
Java
2<br>
Author :
Watson<br
>
Publication :
BPB
publications
</td>
<td>$ 35.5</td>
<td><img src="cartbutton.jpg"></td>
</tr>
</table>
</body>
</html>