HTML Authoring and Web Publishing : HTML Authoring and Web Publishing Minder Chen, Ph.D.
Email: mchen@gmu.edu
Web
Browser Client Web
Server HTML Authoring
Tools/Editors End User Web Master Web
Publisher Server External Applications
Non-HTTP objects CGI:
Common
Gateway
Interface Internet
Global Reach
Broad Range
Course Description : Course Description The basic architecture of the World Wide Web (WWW) and its implications to business people, IS professionals and end users is the focus of this course. Basic HTML (HyperText Markup Language) tags for defining document structure and appearance, for defining anchors and hyperlinks, plus advanced HTML features including tables, images, forms, and frames will be explained. Participants will create their own web page in the computer lab using HTML authoring tools. Issues on Web page design and style, as well as how to promote a home page will be discussed.
Course Outline : Course Outline Introduction to World Wide Web
HyperText Markup Language: Basic Tags
Anchors, Links, and Uniform Resource Locator
Images and Image Links
Tables
Multimedia Contents
Forms
HTML Extensions
Frames
Web Publishing
Class Project Solutions
References : References Laura Lemay, Teach Yourself Web Publishing With HTML 4 in 21 Days, Professional Reference Edition, 2nd Edition, SAMS, Feb. 2000.
HTML Online Resources:
B&N http://www.affiliates.net/affnet/traffic.asp
Introduction to HTML http://www.ncsa.uiuc.edu/General/Internet/WWW/HTMLPrimer.html
HTML Resources: http://www.w3.org/MarkUp/
HTML 3.2: http://www.w3.org/MarkUp/Wilbur/
http://wdvl.internet.com/Authoring/HTML/4/Tags/
http://www.htmlcompendium.org/
http://hotwired.lycos.com/webmonkey/reference/html_cheatsheet/
HTML-kit: An HTML editor
http://www.chami.com/html-kit/#download
The Architecture of WWW : The Architecture of WWW Web
Browser Client Web
Server End User HTTP
TCP/IP HTML
documents Internet
or
Intranet
WWW: What Is It? : WWW: What Is It? The World Wide Web (WWW) is a breakthrough in new technology designed to enable global, distributed information systems.
From a user's perspective, the Web is a collection of documents, or pages, which contain text, images, and hypertext links to other pages.
WWW merges the techniques of information retrieval and hypertext to create a powerful global information system. By simply pointing and clicking, the user has instant access to a mind-boggling collection of information, distributed across the globe.
From an information providers point of view, the Web is an easy and efficient way of distributing any kind of information to a very large audience. Nobody is certain of how many users are on the Internet, but estimates start at 20 million.
Key Elements of Web : Key Elements of Web Hypertext: Non-linear links to anchors of the same document, or to different documents on the same or different web site.
Using HTML (HyperText Markup Language) links and anchors
Relying on URL (Uniform Resource Locators) addressing scheme
Multimedia: graphics, video, sound, etc.
Web browser can access networked hypermedia.
Hypermedia access of the web browser is facilitated by helper applications, plug-ins, or document viewers.
Network: Global reach and "Universal" access
Based on TCP/IP protocol.
Client-Server Model of http : Client-Server Model of http Web Server Web Client Requesting a document via a URL address
Connection open Returning MIME-compliance document
Connection close helper app helper app helper app helper app helper app Web contents
HTML documents
Images
Animation
Video clips
Sound bites
Java applets
Java Scripts
CGI scripts
Database access Web Site Internet or
Intranet 1 2 Static Dynamic MIME: Multipurpose Internet Mail Extension
HTTP : HTTP HTTP: HyperText Transfer Protocol
Characteristics:
Runs on top of TCP/IP
Has a comprehensive addressing scheme, i.e. URL
An extensible and open representation for data type, using MIME header
Has a stateless protocol. There is no memory between client connections.
Is efficient
Is portable
Possible extensions, Secure HTTP (SHPPT), SSL, HTTP-Next Generation
The Extended Framework of WWW : The Extended Framework of WWW Web
Browser Client HTML Authoring
Tools/Editors End User Web Master Web Designer
& Publisher External Applications
Non-HTTP objects ColdFusion,
CGI (Perl)
ASP & ASP.NET
JAVA Servlet
Java Server Pages
Java Applet
JavaScript Internet
Global Reach
Broad Range Web Programmer Web
Server
Roadmap to the Web Master Fast Track Curriculum : Roadmap to the Web Master Fast Track Curriculum HTML IIS
Web Server
FTP Server
Web Site Analysis
Internet Security PhotoShop Web Design Process FrontPage DHTML with
DreamWeaverMX & JavaScript Active Server Pages Database-Bound Web
SQL
ColdFusion Content Development Web Programming Server Administration Foundations Web Group Project XML 163 hrs Flash Advanced HTML & Web Technologies Overview ASP.NET Web User Interface Design
Slide12 :
HTML Sampler Web Page
HTML Sampler

List:
| Name | Speciality |
| Minder Chen | MIS |
| Justin Chen | Aerospace |
A sample of a form:
Developed by
Advanced IT Consulting
image list table form link
Slide13 : Document
source HTML
Converter WYSIWYG
HTML Editor HTML Source
Editor Line Art
Drawing Tool Digital
Image Tool Graphic File
Conversion Tool HTML File
image file
.gif or .jpeg Multimedia
Authoring Tool Web Authoring Environment Web Server ftp tool Web Site Management Tool Web Hosting Environment video/sound file
.mov, .avi, ... Local Developer Workstation HTML Validation Tools
Anatomy of a Tag : Anatomy of a Tag Opening tag Attribute=value Closing
tag HTML Tutorial
HTML Tutorial
HTML Tutorial
HTML Tutorial
Element
A Simple HTML Document : A Simple HTML Document
The title shows up on your Web Browser
Basic Tools and Editing Process : Basic Tools and Editing Process From Start button
Choose Programs
Choose Accessories
Choose WordPad
Enter your HTML code
Save it as Text File
Choose "Text Document" Format
Name the file with .htm extension
Open the Internet Explorer
Choose File / Open Page …
Choose the file you just saved
Open the file to view it
Go back to edit your HTML code
Use ALT-TAB key to switch back to the browser
Click "Reload" button to refresh it
Use ALT-TAB key to switch back to the Editor
Solution: Create a Web Page : Solution: Create a Web Page AITC Web Site
Company Introduction
Products
How to Contact us
Online HTML Resources
Developed by
Advanced IT Consulting contact
us at aitc@erols.com Advanced IT Consulting
AITC Web Site
- Company Introduction
- Products
- How to Contact us
- Online HTML Resources
Developed by Advanced IT Consulting
Contact us by email at aitc@erols.com
Save it at c:\temp\index.htm
HTML Authoring Tools : HTML Authoring Tools HTML Editor
Notepad / WordPad
AOLPress (www.aolpress.com)
HTML-Kit (www.chami.com/html-kit/)
HTML Assistant Pro (www.brooknorth.com)
HotMetal from SoftQuad (www.sq.com)
HotDog from Sausage Software (www.sausage.com)
Netscape Communicator (www.netscape.com)
PageMill from Adobe
Microsoft FrontPage
Macromedia Dreamweaver
Recommendation: Use first a WYSIWYG authoring tool for common tasks and use another non-WYSIWYG authoring tool for advanced features not currently supported by the first tool.
HTML Conversion Tool
HTML Syntax Validation Tool (www.w3.org/MarkUp/html-test/)
Web Site Development Environment (e.g., FrontPage)
HTML Editors : HTML Editors HTML documents are in plain (also known as ASCII) text format and can be created using any text editor.
Free HTML editors:
Netscape Composer in Netscape Communicator
FrontPage Express in Internet Explorer 5.0
HTML editors:
WYSIWYG HTML editors: FrontPage
Non-WYSIWYG HTML editors: HTML Assistant Pro
FrontPage Express : FrontPage Express Install Internet Explore 5.0
Use customized installation: Under Web Authoring tools: Choose FrontPage Express
FrontPage Express can be accessed from the Edit button of IE or from Accessories / Internet Tools
Class Project : Class Project AITC Web Site
Company Introduction
Products
How to Contact us
Online HTML Resources
Developed by
Advanced IT Consulting contact
us at aitc@erols.com AITC C:\temp\index.htm AITC Introduction
AITC is …..
Guest Book Entry:
Name:
Know HTML
Submit Resume profile.htm
AITC Employees
Minder Chen
Bruce Johnson
Terry Smith
Minder Chen
703-334-4566
[Index]
Bruce Johnson
703-334-4577
[Index]
contact.htm Product Listing
ID Name Price
100 TV $250
200 PC $999
210 XY $234 [Home | Intro | Product | Contact] product.htm Web Site
Home Page
Web Page
Introduction to HTML : Introduction to HTML Most web pages on the World Wide Web are created in a standard document format know as Hypertext Markup Language, or HTML.
In practical terms, HTML is a collection of styles (indicated by markup tags) that define the various components of a World Wide Web document. HTML was invented by Tim Berners-Lee while at CERN.
The "Hypertext" in HTML is the links that allow you to surf from one document to the next on the World Wide Web.
All Web browsing tools like Microsoft Internet Explorer, and Netscape Navigator, read HTML documents and allow you to browse these documents by traversing these links.
Not all browsing tools interpret or display HTML in the exact same way. This is why some pages look different in one browser than they do in another. It is important to keep this in mind when you are creating your web pages. Test your web pages on different browsers.
Anatomy of a Tag : Anatomy of a Tag Opening tag Attribute=value Closing
tag HTML Tutorial
HTML Tutorial
HTML Tutorial
HTML Tutorial
Element
HTML Elements' General Syntax : HTML Elements' General Syntax text
This is a title
Boldface
Singleton Tags
closing
is optional
text
This Is the Top
Basic Elements of HTML Coding : Basic Elements of HTML Coding Basic Markup Tags
Titles
Headings
Paragraphs
Lists
Unnumbered Lists
Numbered Lists
Definition Lists
Nested Lists
Preformatted Text:
Extended Quotes
Addresses
Line Breaks
Horizontal Rules
and
Character Formatting
Physical Versus Logical: Use Logical Tags When Possible
Using Character Tags:
Special Characters
Escape Sequences
HTML Tags: Document Structure : HTML Tags: Document Structure : start and end of HTML document
: document meta-information start and end
: content of document displayed by the browser
Headings: Level 1 to 6 : Headings: Level 1 to 6
Headings
Heading 1 (Top Level)
Heading 2
Heading 3
Heading 4
Heading 5
Heading 6 (Bottom Level)
Don’t use the ... to manipulate your font size.
Use tag
Use Test or Test Xxxxx dsfdsfdsf
sadsdsad
2.1 sadsad
2.2 ddddd
2.2.1 xxxx
sssss
Physical and Logical Styles in HTML : Physical and Logical Styles in HTML If physical and logical styles produce the same result on the screen, why are there both? It is because of the philosophy of SGML, which can be summed in a Zen-like mantra: "Trust your browser.''
In the ideal HTML universe, content is divorced from presentation. Thus, HTML tags a level-one heading as a level-one heading, but does not specify that the level-one heading should be displayed.
The advantage of this approach (it's similar in concept to style sheets in many word processors) is that if you decide to change level-one headings to be 20-point left-justified Helvetica, all you have to do is change the definition of the level-one heading in the presentation device (i.e., your World Wide Web browser) or cascading style sheet (CSS).
The other advantage of logical tags is that they help enforce consistency in your documents. It's easier to tag something as than to remember that level-one headings are 24-point bold Times or whatever. The same is true for character styles. For example, consider the tag. Most browsers render it in bold text. However, it is possible that a reader would prefer that these sections be displayed in red instead. Logical styles offer this flexibility.
Logical Styles : Logical Styles : for a word being defined. Typically displayed in italics. (NCSA Mosaic is a World Wide Web browser.)
: for emphasis. Typically displayed in italics. (Watch out for pickpockets.)
: for titles of books, films, etc. Typically displayed in italics. (A Beginner's Guide to HTML)
: for snippets of computer code. Displayed in a fixed-width font. (The header file)
: for user keyboard entry. Should be displayed in a bold fixed-width font, but many browsers render it in the plain fixed-width font. (Enter passwd to change your password.)
: for computer status messages. Displayed in a fixed-width font. (Segmentation fault: Core dumped.)
: for strong emphasis. Typically displayed in bold. (Important)
: for a "metasyntactic'' variable, where the user is to replace the variable with a specific instance. Typically displayed in italics. (rm filename deletes the file.)
Physical Styles : Physical Styles : bold text
: italic text
: Underline text (Don’t use it)
: typewriter text, e.g. fixed-width font
: Use a non-proportional font to maintain the white spaces, tabs, and carriage returns.
Examples:
Boldface
This is a tabbed line
Correct: Boldface and italic
Incorrect: Boldface and italic
Logical and Physical Styles : Logical and Physical Styles Physical Styles
Italic
Bold
Underline
Type writer font
Bold and Italic
Strikethrough
Logical Styles
Subscirpt and Superscript
emphasis
strong
sample
code such as main() { }
keyboard
variable xyz, abc,
citation
100 Main Street, Major City, MD 20817
Paragraph : Paragraph The browser ignores any indentations or blank lines in the source text. HTML relies almost entirely on the tags for formatting instructions, and without the tags, the document becomes one large paragraph.
...
The closing tag is optional
Start a new paragraph
HTML 3.0 feature
Force a line break
...
...
Do not wrap the enclosed text
Force a space character
Paragraph: To Break or No To Break : Paragraph: To Break or No To Break This is a paragraph. Spaces, line breaks, empty lines do
not work in HTML documents. You need to use
line break tag <br>.
This line has a line break.
This line is followed by a horizontal line.
Another paragraph after
the <hr>
This is another paragraph with extra space.
Horizontal Lines
: Horizontal Lines
Horizontal Line
Listing : Listing HTML supplies five list elements. With the exception of DL, list elements are composed of one or more LI (list item) elements. You can nest lists by inserting a UL, OL, etc., inside a list item (LI).
Five list types:
OL: ordered list. Items in this list are numbered automatically by the browser. The numbering will reflect nesting levels.
UL: unordered list. Items in this list start with a list mark such as a bullet. Browsers will usually change the list mark in nested lists.
MENU: menu list. This is an unordered list. Each LI element in this kind of list should be no longer than one line.
DIR: directory list. This is an unordered list. Each LI element in this kind of list should be no longer than 24 characters.
DL: list of definitions. This is an unordered list. This kind of list is different from the others. Each `item' in a DL consists of one or more terms (DT elements), followed by definitions (DD elements).
Unordered Lists: : Unordered Lists:
Listing
A Simple Unordered List
Multiple Level & Unordered List
Ordered Lists: , - ,
: Ordered Lists: , - ,
Ordered Listing
A Simple Ordered List
- First item
- Second Item
Multiple Level & Ordered List
- Level 1
- Level 1.1
- Level 1.2
- Level 2
- Level 2.1
- Level 2.2
- Mixing order and unorder list
Menu List: : Menu List: