Docsity

Web Design: Typography and Element Classification - Prof. Peter L. Hoelter, Exams of Web Design and Development

Toggle sidebar
bg1
VC 237 :: Week 07 2 of 6 10 November 2008
— Demonstration Outline —
Has Web typography gotten better?
o YES! … well, kind of…
o When designers began working on the web, more visual control was desired.
o Netscape introduced the <font> tag in 1995 to allow for better control of
text, including size, face and color.
o Today, designers are learning and using Cascading Style Sheets (CSS).
Style sheets are the best of both worlds: they preserve the structural logic of a
page while allowing for visual control of its’ presentation.
Support for CSS is inconsistent across different browsers and computing platforms,
though it's better than it used to be.
CSS offer superior control over page layout, but is more technical in nature and
can be difficult to learn.
Basic Typographic Concepts
Text Flow
o By default, text flows as far right as it can before returning and beginning a
new line. Without any constraints, this is always the right-hand side of the
browser window.
o As the browser window is re-sized, the text on a page re-flows to fit the new
window size.
o The most common way to restrict text flow is tables.
o You can use Dreamweaver’s Table Layout Design mode or CSS layout
templates to draw cells that can constrain text flow.
Type differences between operating systems
o Macintosh and Windows computers use a different default DPI setting.
72 DPI for Macs (though this is changing)
96 DPI for Windows
o When font sizes are specified in points, the screen DPI is used to calculator
the number of pixels to use to display a character.
o Because of this, fonts have often looked a few sizes bigger on Windows than
they do on the Mac.
This has made it difficult to consistently display type, including line breaks and
other common typographical adjustments, across operating systems.
o Even on the same operating system, different browsers will display type and
other elements differently.
o Note: The default DPI setting in current Macintosh browsers is now set to
emulate Windows standards (16pt font size, 96 dpi).
Type Sizing Recommendations:
o Design your pages so that exact text sizes do not matter that much. Design
text boxes in which text can freely flow, and be OK with pages that scroll a
bit more on a PC than on the Mac.
o Use graphic text instead of HTML for areas that require exact type sizing.
Navigation elements are often good candidates for this treatment.
o Don’t use font sizes smaller than 9 pixels. Test your pages on both platforms
to make sure they look correct.
o Use Cascading Style Sheets and set font sizes in pixels.
pf3
pf4
pf5

Partial preview of the text

Download Web Design: Typography and Element Classification - Prof. Peter L. Hoelter and more Exams Web Design and Development in PDF only on Docsity!

Has Web typography gotten better? o YES! … well, kind of… o When designers began working on the web, more visual control was desired. o Netscape introduced the tag in 1995 to allow for better control of text, including size, face and color. o Today, designers are learning and using Cascading Style Sheets (CSS).  Style sheets are the best of both worlds: they preserve the structural logic of a page while allowing for visual control of its’ presentation.  Support for CSS is inconsistent across different browsers and computing platforms, though it's better than it used to be.  CSS offer superior control over page layout, but is more technical in nature and can be difficult to learn.

Basic Typographic Concepts

Text Flow o By default, text flows as far right as it can before returning and beginning a new line. Without any constraints, this is always the right-hand side of the browser window. o As the browser window is re-sized, the text on a page re-flows to fit the new window size. o The most common way to restrict text flow is tables. o You can use Dreamweaver’s Table Layout Design mode or CSS layout templates to draw cells that can constrain text flow. Type differences between operating systems o Macintosh and Windows computers use a different default DPI setting.  72 DPI for Macs (though this is changing)  96 DPI for Windows o When font sizes are specified in points, the screen DPI is used to calculator the number of pixels to use to display a character. o Because of this, fonts have often looked a few sizes bigger on Windows than they do on the Mac.  This has made it difficult to consistently display type, including line breaks and other common typographical adjustments, across operating systems. o Even on the same operating system, different browsers will display type and other elements differently. o Note: The default DPI setting in current Macintosh browsers is now set to emulate Windows standards (16pt font size, 96 dpi).

Type Sizing Recommendations: o Design your pages so that exact text sizes do not matter that much. Design text boxes in which text can freely flow, and be OK with pages that scroll a bit more on a PC than on the Mac. o Use graphic text instead of HTML for areas that require exact type sizing. Navigation elements are often good candidates for this treatment. o Don’t use font sizes smaller than 9 pixels. Test your pages on both platforms to make sure they look correct. o Use Cascading Style Sheets and set font sizes in pixels.

Element Classification

Block-level Elements: Headers and Paragraphs o Block-level elements were originally the only way to format text, and end- users could control their presentation (font, size, etc). o These elements describe the information hierarchy, or structure, of the page.  Header elements contain header or sub-header copy  Paragraph elements contain body copy  List elements contain lists of items (ordered, unordered, term/definition, etc) o Block-level elements create a new paragraph when they are closed. o Header elements are ranked in order of importance ( is first, is second, etc.).  Headers faded in popularity when the tag was introduced, but are now making a comeback as browsers improve support for CSS. Why use block-level elements? o Allow you to establish the structural hierarchy of a page. o Allow you to make use of the power of CSS. o Search engines index content better when it is enclosed in block-level elements. o Allows users with disabilities and mobile Web users who use alternative HTML readers to access your site.

Default Heading and Paragraph Sample HTML

Heading One Heading Two Heading Three Heading Four Heading Five

Heading Six

Paragraph

Browser: Firefox 2.0 for Mac OS X, Default font size: 16pt.

Inline Elements o Inline elements live within block-level elements. o These elements do not create a new paragraph after they are closed. o Inline elements include anchors (), and bold and italic ( and ). List-item Elements o Defines content as being part of a list. o Only includes the element. o Because they are, by definition, part of a list, they can be numbered automatically by a Web browser.

Size

o Specify font sizes in pixels to insure size consistency across browsers and operating systems. o Do not use the 1 through 7 scale that Dreamweaver still provides access to.

Paragraph Alignment

o HTML primarily allows left, center and right alignment.  Text justification is possible but not recommended. o Alignment is applied to any text within a paragraph.  Insert a paragraph break (return/enter key,

) to isolate a section of text and apply alignment independently of other paragraphs.  Copy connected by soft returns (shift-return/enter, ) will align together.

Indents

o HTML provides simple paragraph indenting using the

tag. o Indents bring a paragraph’s margins in about five characters from both the left and right of a paragraph. o Multiple indents can be used to increase the level of indentation. o In Dreamweaver, first select the paragraph you wish to indent, then select Text > Indent (Apple-Option-] on the Mac, Control-Option-] on Windows). o First-line indenting of paragraphs is generally not done on the web.

Styles

o HTML supports most common type styles.

o Styles can be found under Text > Style. o Bold and Italic are also found in the Properties panel.

Lists

o Allows you to create formatted and intended lists. o Similar to outlines in word processing programs. o List Types:  Ordered Lists (1, 2, 3, n ; )  Unordered List — aka Bulleted List (•; )  Definition List (Word/Definition combinations; ) o List can have multiple levels of indentation. o List items must have paragraph returns (return key) between each item, not a soft return (shift-return). o Each item in the list must be contained within a tag (Line item tag). o There are many other list styles that can be found under the List Item… button in the Properties Palette.

Style HTML Bold (old way: ) Italics (old way: ) Underline Strikethrough Super script^ Sub (^) script

Special Characters o You can access common special characters using the Insert > HTML > Special Characters… menu. o Select special characters: Character HTML < > <^ > © © ® ® “” (Curly Quotes) “ and ” Non-breaking Space o About the non-breaking space:  Web browsers ignore any occurrence of two or more spaces in a row.  Multiple spaces are treated and displayed as a single space.  To force the browser to display more than one space, type Command-Shift-Space to insert a non-breaking space. Image Alignment o HTML allows you to place images inline with text. o Images are anchored to a specified place in the text, and that position in the text is based on the text flow. o You cannot float images above text like Illustrator or InDesign. o By default, the bottom of an image is aligned with the text baseline. o Recommended Alignment Options:

Bottom (default) Aligns the baseline of the text to the bottom of the image

Middle Aligns the baseline of the text to the middle of the image

Top Aligns the image to the tallest part of the object (image or text)

Left Left-aligns the image and wraps text to the right

Right Right-aligns the image and wraps text to the left. Note the placement anchor at the top-left of the text.

Note: Options presented in Dreamweaver that are not in the table above are not standards and will not work in future browsers.