Module 2.2
Task 3 - HTML Codes


A.M.D.G.


When using Dreamweaver you generally do not need to worry about the underlying HTML codes of the web pages you produce but it is sometimes necessary to edit HTML directly.

HTML codes are usually of the form:

<opening tag> </closing tag>

All text between the codes will be formatted according to the content of the tags.

For example, the HTML code to make text bold would be:

<B> </B> or <strong> </strong>

And any text between these tags would be made bold.

 

The basic set of tags that are present before any information is added are:

<html>
<head>


<title>Untitled Document</title>

</head>

<body>

</body>
</html>

<html> indicates the type of language used

<head> This can contain information that is not displayed on the page. It may contain information that is used by search engines when locating pages. It can contain many tags, but most basically, contains the <title> tag

<Title> This element defines the title of the document which appears at the top of the browser window.

<body> The information displayed on the web page goes in between the body tags


  • Switch to Code and Design view, , in Dreamweaver
  • Type your name and highlight this text
  • By formatting this text using the tools below, copy and complete the following table:
Tool HTML Code
<em> </em>