Professional Documents
Culture Documents
1.
2.
3.
4.
NOTE:
1. Avoid using too many different colours, fonts,
animations and styles. Avoid very bright
colours as this makes the page difficult to read.
2. Do not use too many photos and graphics in
high resolution. File size will be too large so it
will take a long time to open in a browser.
3. Make links visible and group them together.
Every web page should have a link back to the
home page.
4. Headings or titles should be across the top of
the page.
5. Keep things as simple as possible.
Terms
Website a collection of web pages.
Web server a computer that is connected to the internet. Internet content is stored
on the web server.
Upload when you put content on a web server for other people to look at or use.
Download when you take content from a web server on to your computer.
Web browser software used to connect to the Internet.
Uniform Resource Locator(URL) address of a webpage. Also called the domain
name. This identifies where the webpage is hosted and who controls or owns the
website.
Web page document that appears in the browser window which can include text,
images and animated or interactive content.
Hypertext transfer protocol (HTTP) communication protocol for the Internet.
Introduction
The
The
The
The
text
text
text
text
between
between
between
between
<html>
<body>
<p>The hr tag defines a horizontal rule:</p>
<hr />
<p>This is a paragraph</p>
<hr />
<p>This is a paragraph</p>
<hr />
<p>This is a paragraph</p>
</body>
</html>
NOTE: Some HTML elements have empty content. HTML
elements with no content are called empty elements. Empty
elements are closed in the start tag. For example, <hr>
(the <hr> tag creates a horizontal line) is an empty element
without a closing tag. Adding a dash inside the start tag, like
<hr/>, is the proper way of closing empty elements.
Text alignment
<html>
<body>
<h1 ALIGN=CENTER>Center-aligned heading</h1>
<p>This is a paragraph.</p>
</body>
</html>
Text formatting
<html>
<body>
<p><b>This text is bold</b></p>
<p><strong>This text is strong</strong></p>
<p><big>This text is big</big></p>
<p><i>This text is italic</i></p>
<p><em>This text is emphasized</em></p>
<p><code>This is computer output</code></p>
<p>This is<sub> subscript</sub> and <sup>superscript</sup></p>
</body>
</html>
Fonts
<html>
<body>
<p>
<font size="5" face=arial" color="red">
This paragraph is in Arial, size 5, and in red text color.
</font>
</p>
<p>
<font size="3" face="verdana" color="blue">
This paragraph is in Verdana, size 3, and in blue text color.
</font>
</p>
</body>
</html>
Background colour
<html>
<body style="background-color:yellow;">
<h2 style="background-color:red;">This is
a heading</h2>
<p style="background-color:green;">This
is a paragraph.</p>
</body>
</html>
Hyperlinks
A hyperlink, or link, is a piece of text or part of a picture that you
can click and it takes you to another web page, to another
section of a web page, to an e-mail address, to an external web
page or to a user-created file.
<html>
<body>
<a href="http://www.w3schools.com" target="_blank">Visit
W3Schools.com!</a>
<p>If you set the target attribute to "_blank", the link will open in
a new browser window/tab.</p>
</body>
</html>
Images
<html>
<body>
<p align=center><IMG SRC = filepath.jpg height=200
width=200> </p>
</body>
</html>
Tables
<table border="1">
<tr>
<td>row 1, cell 1</td>
<td>row 1, cell 2</td>
</tr>
<tr>
<td>row 2, cell 1</td>
<td>row 2, cell 2</td>
</tr>
</table>
Additional tags
<!--> - Defines a comment
Use the <br /> tag if you want a line
break (a new line) without starting a
new paragraph.
Testing a website
Test the website to see whether the
website works properly in different
internet browsers.
1. Check that the layout is correct
nothing is chopped off.
2. Check that the text displays correctly.
3. Check that your pictures display
correctly. It is best to use common
image types such as JPEG.
4. Test all hyperlinks on every page to
ensure that they work and link to the