Top Banner
34

More HTML Stuff Making your HTML more exciting HTML -- Let’s Review zHTML’s basic four tags z.

Dec 21, 2015

Download

Documents

Welcome message from author
This document is posted to help you gain knowledge. Please leave a comment to let me know what you think about it! Share it to your friends and learn new things together.
Transcript
Page 1: More HTML Stuff Making your HTML more exciting HTML -- Let’s Review zHTML’s basic four tags z.
Page 2: More HTML Stuff Making your HTML more exciting HTML -- Let’s Review zHTML’s basic four tags z.

More HTML Stuff

Making your HTML more exciting

Page 3: More HTML Stuff Making your HTML more exciting HTML -- Let’s Review zHTML’s basic four tags z.

HTML -- Let’s Review

HTML’s basic four tags<html></html><head></head><title></title><body></body>

Page 4: More HTML Stuff Making your HTML more exciting HTML -- Let’s Review zHTML’s basic four tags z.

HTML – Let’s review

Container vs empty tagsContainer <p></p>; <a></a>Empty <br>

Attributes (modify HTML tags)<img src=“my.jpg” height=“25”

width=“30” alt=“My Image”>Four attributes (src, height, width,

alt)

Page 5: More HTML Stuff Making your HTML more exciting HTML -- Let’s Review zHTML’s basic four tags z.

HTML - Heading/Paragraph

Heading Elements - varies font sizeLevels 1 (largest) to 6 (smallest)<h1></h1>Inserts a line break before and after

Paragraph Tag<p></p>Inserts a line break before and after

Page 6: More HTML Stuff Making your HTML more exciting HTML -- Let’s Review zHTML’s basic four tags z.

HTML -- Lists

ListsOrdered <ol></ol> -- numberedUnordered <ul></ul> -- bulletedDefinition <dl></dl>

Page 7: More HTML Stuff Making your HTML more exciting HTML -- Let’s Review zHTML’s basic four tags z.

HTML—Links (review)

Link examples <a href=“file2.html”>File</a> <a href=“class/file2.html”>File</a> <a href=“http://www.google.com

”>Google</a> <a

href=“mailto:[email protected]”>Email</a> (Cont.)

Page 8: More HTML Stuff Making your HTML more exciting HTML -- Let’s Review zHTML’s basic four tags z.

HTML – Link (new)

Linking to a section within a document

<a href=“http://slpl.org”><img src=“bookworm.gif” alt=“Bookworm”></a>

<a name=“top”></a><a href=“barb1.html#top”>Return to

top</a>

Page 9: More HTML Stuff Making your HTML more exciting HTML -- Let’s Review zHTML’s basic four tags z.

HTML -- Tables

Tags to remember<table><tr><td></td></tr></table>

Table attributes to rememberCellpadding, cellspacing, border, width, summmary, heading

Table data cell attributes to rememberAlign, valign, colspan, rowspan

Page 10: More HTML Stuff Making your HTML more exciting HTML -- Let’s Review zHTML’s basic four tags z.

Now for some extras

Meta tagsDTDSpecial charactersComments

Page 11: More HTML Stuff Making your HTML more exciting HTML -- Let’s Review zHTML’s basic four tags z.

Meta Tags

How are they used Search engine indexing Can we prevent indexing

<META NAME="ROBOTS" CONTENT="NOINDEX, NOFOLLOW">

Google example (similar info. on Yahoo help)http://www.google.com/remove.html

Page 12: More HTML Stuff Making your HTML more exciting HTML -- Let’s Review zHTML’s basic four tags z.

HTML – Meta Tags

Meta tags<meta http-equiv=“Content-Type”

content=“text/html; charset=iso-8859-1”><meta name=“description” content=“A

short paragraph about the page.”><meta name=“keywords”

content=“library, libraries, MU libraries”><meta name=“author” content=“Barbara

Knotts”>

Page 13: More HTML Stuff Making your HTML more exciting HTML -- Let’s Review zHTML’s basic four tags z.

Document Type Definition

DTD—tells browser which version HTML used HTML 4.01 Transitional DTD Include before opening HTML tag <!DOCTYPE HTML PUBLIC “-//W3C//DTD

HTML 4.01 Transitional//EN” http://www.w3.org/TR/html4/loose.dtd>

Page 14: More HTML Stuff Making your HTML more exciting HTML -- Let’s Review zHTML’s basic four tags z.

More Extras

Special charactersExamples

&nbsp; (nonbreaking space)St.&npsp;Louis

&amp; (ampersand)Milk &amp; Cookies

&quot; (quotation mark)&quot;Go Cards&quot;

Page 15: More HTML Stuff Making your HTML more exciting HTML -- Let’s Review zHTML’s basic four tags z.

More Extras

Comment

Begin <!--Nothing below will display

End -->Check out source of

bengal.missouri.edu/~knottsb

Page 16: More HTML Stuff Making your HTML more exciting HTML -- Let’s Review zHTML’s basic four tags z.

More Extras

Comment

Begin <!--Nothing below will display

End -->Check out source of

bengal.missouri.edu/~knottsb

Page 17: More HTML Stuff Making your HTML more exciting HTML -- Let’s Review zHTML’s basic four tags z.

Create Your Own (you should be able to do for Portfolio)

DTDFour required tagsMetaLink

bookmark

ImageListCombination of

above

TableColorHeadingFonts Paragraph/Line

breakMailto:StylesCombination

Page 18: More HTML Stuff Making your HTML more exciting HTML -- Let’s Review zHTML’s basic four tags z.

Writing & Designingfor theWeb

Page 19: More HTML Stuff Making your HTML more exciting HTML -- Let’s Review zHTML’s basic four tags z.

Writing for the Web

4 C’s Creditable Clear Concise Coherent

Page 20: More HTML Stuff Making your HTML more exciting HTML -- Let’s Review zHTML’s basic four tags z.

Writing for the Web

Creditable Avoid exaggerations Avoid being too chatty or cutesy Take care with humor Understand the user – age, skill level,

culture Let them know who you are and why

what you say is relevant and worth their time

Page 21: More HTML Stuff Making your HTML more exciting HTML -- Let’s Review zHTML’s basic four tags z.

Writing for the Web

Clear Assume your audience ‘knows nothing about

subject’ Make titles and headers meaningful Make icons and links apparent Define terms/Minimize jargon (use links) Use active voice Allow searching & sitemap Use lots of white space

Page 22: More HTML Stuff Making your HTML more exciting HTML -- Let’s Review zHTML’s basic four tags z.

Writing for the Web

Concise Keep it short – users Scan/Browse/Skim Use short words, sentences, paragraphs One idea per paragraph and state in

first sentence Use of bulleted lists

Page 23: More HTML Stuff Making your HTML more exciting HTML -- Let’s Review zHTML’s basic four tags z.

Writing for the Web

Coherent Intuitive Good menus – consistent & at top or

bottom Links work Good connections between paragraphs,

pages, ideas EDIT, EDIT, EDIT – spell and grammar

check & then EDIT again – Tools can help

Page 24: More HTML Stuff Making your HTML more exciting HTML -- Let’s Review zHTML’s basic four tags z.

Sample 1

St. Louis is filled with internationally recognized attractions that draw large numbers of people every year without fail. In 2006 some of the most popular places were the Gateway Arch (over 3 million visitors), Scott Joplin’s home (about 350,000 visitors), and the St. Louis Zoo (over 5 million visitors).

Page 25: More HTML Stuff Making your HTML more exciting HTML -- Let’s Review zHTML’s basic four tags z.

Sample 1 – concise, scannable, & objective

In 2006, three of St. Louis’ most visited attractions were: Gateway Arch Scott Joplin’s home St. Louis Zoo

Other suggestions???

Page 26: More HTML Stuff Making your HTML more exciting HTML -- Let’s Review zHTML’s basic four tags z.

Designing for the Web

Getting you started to think about issues – MU’s website design class provides you opportunity to explore in depth.

Let’s look at presentation of content, navigation, and design itself

Page 27: More HTML Stuff Making your HTML more exciting HTML -- Let’s Review zHTML’s basic four tags z.

Designing for the Web – Content Pet Peeves

Content (much of this is review)Too long – too much scrollingNot relevant or creditableLack of summariesInconsistency in language – style

and tonePunctuation and grammar errors

Page 28: More HTML Stuff Making your HTML more exciting HTML -- Let’s Review zHTML’s basic four tags z.

Designing for the Web – Content Solutions

Content – some answersDate each page (include reviewed

date)Use of logo and tag lineIdeas from our discussion on

Writing for the WebCustomize it for each user

Page 29: More HTML Stuff Making your HTML more exciting HTML -- Let’s Review zHTML’s basic four tags z.

Designing for the Web – Navigation Pet Peeves

Navigation – the concernsInability to find contentToo many clicks to get to linksToo many links (or too few)Poorly labeled links OR icons that look

like links but are notDead-end pagesGetting lost

Page 30: More HTML Stuff Making your HTML more exciting HTML -- Let’s Review zHTML’s basic four tags z.

Designing for the Web – Navigation Solutions

Navigation – some answersKeep navigation simple and

repetitive (same place & function on each page)

Organize information in order your user will look for it

Page 31: More HTML Stuff Making your HTML more exciting HTML -- Let’s Review zHTML’s basic four tags z.

Designing for the Web – Design Pet Peeves

Design itself – concernsToo many fonts and colorsClutterSlow downloads due to graphicsPop up windowsPlugins Accessibility – (multiple browsers and

special users)

Page 32: More HTML Stuff Making your HTML more exciting HTML -- Let’s Review zHTML’s basic four tags z.

Designing for the Web – Design Solutions

Design itself – some answersUse sans serif typefaces (Arial or Helvetica)Use large enough/not too large fonts—not too

manyAvoid caps and overuse of bold/italicsText flush left for optimum readingKeep pages to 50KB (3-10 sec. download)Don’t design for newest onlyContact Us!!! -- & meaningful URLs

Page 33: More HTML Stuff Making your HTML more exciting HTML -- Let’s Review zHTML’s basic four tags z.

Our successful website

Conveys its own distinctive image (to help enhance your organization’s)

Attractive & up-to-dateUnderstands and meets its users

needs (and changes as those needs change)

Offers choices and customization