Introduction-to-HTML (1)
Introduction-to-HTML (1)
HTML
Objectives:
Name Examples
Text editors Microsoft Windows
Notepad
Apple Macintosh TextEdit
HTML Editors Adobe Dreamweaver
Microsoft Expression
Word Processing Microsoft Word
Programs
Viewing HTML code in a browser
• Launch your web browser
• Browse to the desired page
• On the menu bar, click view and click Page
Source. You can also press alt key and click
View and click Page Source.
What is a Tag?
<!DOCTYPE html>
Structure of a TAG
• Tags are enclosed in angle brackets < and >
example: <html>
<html>
<head>
<title>ULS</title>
</head>
<body background=“winter.jpg” text=“ffffff ”>
<font size=“4”>Welcome to ULS!</font>
</body>
</html>
Name Description
Start tag Indicated in the start tag is the type of tag used. Also,
attributes are placed in the start tag.
Attributes They used to provide additional information about the
tag and go in name-value pairs separated by an equal sign
=