HTML Authoring
| CIS89A |Home |
HTML Basics
- Writing Tools
- Use any text editor.
- Save as ascii text format.
- Look at files in browser
- [ File / Open ]
- Do NOT need connection or server to test.
- Embedded Tags
- Directions bracketed inside a pair of tags:
- < and > symbols.
- Information inside is used to decide how to display or treat the contents of
document.
- <i>Hello</i> = Hello
- Start / End tagsMost but not all!
- Parts of the HTML Document
- Head
- Contains information about the document.
- Body
- Contents to be displayed in the browser window.
-
HTML Basics - Head
- <html>
- <head>
- <title> My First HTML document</title>
- </head>
-
HTML Basics - Body
- <body>
- <h2> My first HTML document!</h2>
- Hello, <i> World Wide Web! </i>
- <p>Text of paragraph.</p>
- </body>
- </html>
- Saving and Viewing
- Save as filename.html
- Save as text!
- NetscapeOpen File
-
Basic Page Structure
- <html>
- <head>
- <title> My First HTML document</title>
- </head>
- <body>
- <h2> My first HTML document!</h2>
- Hello, <i> World Wide Web! </i>
- <p>Text of paragraph.</p>
- </body>
- </html>
Copyright © 1999 Carol Jordan