Download presentation
Presentation is loading. Please wait.
Published byGwen Gallagher Modified over 8 years ago
1
Introduction to Web Authoring Bill Hart-Davidson hartdav2@msu.edu AIM: billhd30 Session 2 www.msu.edu/~hartdav2/wa.html
2
Today in Class… Questions? Discuss the first project: Web Genre Analysis & Parody HTML basics
3
Choosing a Genre to Analyze Pick one that will be important to you in your career. Either one you will you use a lot or one you will be involved in creating. Past choices: online catalogue; automobile marketing site; news portal; gaming fan site; corporate intranent; e-learning site.
4
Project 1: Genre Analysis & Parody/Tribute http://www.msu.edu/~hartdav2/wa/ga.html
5
For Next Time… 1. Play around with your project page and/or the simple pages 2. Choose a site to analyze for project 1 3. Start working with the Genre Analysis questions, modifying them as needed to suit your project
6
Today’s Exercise Do the following to your project page: 1.Add an image 2.Add a link that works (e.g. to our class page) 3. Change the text so that it is appropriate for you - adding your name, etc. 4. Try updating your page from home via FTP too
7
HTML Reference The following pages provide an overview of the basic html tags. Copy & Paste these into your html file, save the file, then view the file in a browser to see what they do.
8
HTML Document Basic Structure <!– Page title and hidden info <!– Browseable, visible text Note: Any plain text file with this basic structure will do …name it with a.html extension and open it in any web browser
9
Header Tags Should match Web page heading
10
Body Tags 1: How does the whole page look? <BODY BGCOLOR=“#FFFFFF” BACKGROUND=“background.gif” LINK=“#CC3333” ALINK=“#CCFFFF” VLINK=“#C0C0C0” TEXT=“#000000”>
11
Body Tags 2: Six levels of headings Headings Largest heading Smallest heading
12
Body Tags 3: Basic “block” level tag, the paragraph Paragraphs This is a short example of a paragraph
13
A simple text-only menu bar Teams [ 1 | 2 | 3 | ]
14
Body Tags 4: Lists, with numbers and with bullets Lists Unordered Apples Oranges Ordered Priority 1 Priority 2
15
Body Tags 5: Other lists Lists (continued) Definition HTML A tag language
16
Example: Def. List for a team project, 1 Team 1 - Buy_It.com Here's a description of this Web site. Team members
17
Example: Def. List for each team project, 2 Here are the names of the people involved. Send us your comments Here's how to contact us.
18
Body Tags 6: White Space! Breaks
19
Body Tags 7: Horizontal lines for dividing a page Horizontal Rules
20
Body Tags 8: Inserting an inline image file Graphics <IMG SRC=“my.gif“ ALT=“My picture” HEIGHT=“24“ WIDTH=“32“ ALIGN=“left | right | center“ HSPACE=“6” VSPACE=“6”> The SRC is the “source” of the image. The URL of the source tells the browser where to find the image. In this example, the image is stored in the same directory as the page it is sitting on.
21
Body Tags 9: Links, External & Internal Anchors (Links) Within a Page “From” Link Go to Section 1 “To” Link Section 1
22
Body Tags 10: Links, absolute and relative Anchors (Links) to Another Page Absolute Bill’s page Relative Writing to the World Wide Web, section 4
23
Body Tags 12: The mailto link Mailto Anchors Bill’s e-mail
24
Body Tags 13: The old way to do page layout, tables! Simple table Column heading Column data TR = table row TD = table cell..actually, TD stands for “table data,” but you can have a cell with no data in it…
25
Body Tags 14: Table attributes <TABLE BORDER=“1” CELLPADDING=“4” CELLSPACING=“0” WIDTH=“450”>
26
Body Tags 15: A table row <TR BGCOLOR=“#C0C0C0” ALIGN=“left | right | center” VALIGN=“top | bottom | center”>
27
Body Tags 16: A table cell <TD BGCOLOR=“#C0C0C0” ALIGN=“left | right | center” VALIGN=“top | bottom | center” COLSPAN=“2” ROWSPAN=“2”>
28
Body Tags 17: Styles you can apply to text Text: We can specify Bold text Italics Font size Font face Font color
29
Body Tags 18: Style tags (override style sheets) Bold text Italicized text <FONT SIZE=“3” FACE=“ARIAL” COLOR=“blue”> Blue Arial text (normal/default size)
30
Body Tags 19: some codes for special characters Special Characters << >> && "“ &#reg;registered trademark trademark non-breaking space (eg. blank table cell)
Similar presentations
© 2024 SlidePlayer.com Inc.
All rights reserved.