Docsity

HTML Tutorial: Understanding HTML Tags and Structure, Study notes of Computer Science

Toggle sidebar
bg1
HTML Tutorial Lecture(s)
HTML: HyperText Markup Language
Allows writing of electronic multimedia enabled
documents for display on web browsers.
(MS's Internet Explorer, Netscape's Navigator. Make sure you are using fairly new ver-
sions of these. I use Netscape Navigator 4.51 and IE 5)
Popular html "editors" or authoring tools:
MS's Front Page (fairly canned)
Homesite (nice editor)
Macromedia's Dreamweaver (nicely integrated more highly design
oriented tool, less automatic, more controllable)
Still need to know HTML. Why?
Here's a basic HTML document:
<html>
<head>
<title>My First Web Page</title>
<meta name="AUTHOR" content="Monica Sweat">
<meta name="KEYWORDS" content="Java">
<meta name="KEYWORDS" content="University of Florida">
</head>
<body bgcolor=white text=blue link=orange>
Looking for web page information? Here are some great sources.
<ul>
<li><a href="http://www.w3.org/pub/WWW/MarkUp/">An Official HTML Site</a>
<li><a href="http://www.ncsa.uiuc.edu/General/Internet/WWW/HTMLPrimer.html">
An HTML Primer</a>
</ul>
<hr>
The web page for
<a href="http://www.cise.ufl.edu/~monica/CGS2414/index.html">CGS2414</a>.
</body>
</html>
HTML files typically end with .htm or .html
The filenames can be case sensitive.
pf3

Partial preview of the text

Download HTML Tutorial: Understanding HTML Tags and Structure and more Study notes Computer Science in PDF only on Docsity!

HTML Tutorial Lecture(s)

HTML: HyperText Markup Language

Allows writing of electronic multimedia enabled

documents for display on web browsers.

(MS's Internet Explorer, Netscape's Navigator. Make sure you are using fairly new ver-

sions of these. I use Netscape Navigator 4.51 and IE 5)

Popular html "editors" or authoring tools:

MS's Front Page (fairly canned)

Homesite (nice editor)

Macromedia's Dreamweaver (nicely integrated more highly design

oriented tool, less automatic, more controllable)

Still need to know HTML. Why?

Here's a basic HTML document:

My First Web Page

Looking for web page information? Here are some great sources.

An Official HTML Site

An HTML Primer

The web page for

CGS2414.

HTML files typically end with .htm or .html

The filenames can be case sensitive.

TYPES of TAGS:

  1. Structure tags

this is the body of my webpage

  1. Text appearance tags a) Content based tags (bibliography citation) Here is something I want to emphasize (italics) (bold) Here's my address (italics)

b) Physical tags here is something I want to appear in italics (italic) and something in bold (bold) this would appear underlined (underline) this is obnoxious! (blinking)

  1. Paragraph tags a) headings Wow, this is a large heading ... This heading is tiny can have an align attribute (left, center, right) Tale of Two Cities b) paragraphs

(new paragraph and has an optional closing tag

) we could put some poetry in here (preformatted - good for poetry or other text that you do not want to have reformatted) Four score and seven years ago..... (indents from left and right to denote a large quote) c) line breaks
  1. Font tags (base font for the entire document)

common examples of font tag attributes: size=3 (sizes can be explicit 1, 2, 3, 4, 5, 6, 7 or relative -2, -1, +1, +2, ...) color="#FFFFFF" (hexadecimal value for white) face="ariel,helvetica"

  1. List tags a) unordered list

milk bread

b) ordered list