Marquees and Standards

Slides:



Advertisements
Similar presentations
CREATED BY : VIRAL M.KORADIYA. Anchor elements are defined by the element. The element accepts several attributes, but either the Name or HREF attribute.
Advertisements

MIS 425 Lecture 2 – HTML Navigation, Colors, tables and Styles Instructor: Martin Neuhard
Standards & Accessibility DMFD. Digital Media: Communication and DesignF2007 Comments Homepage  Requirement: include photo in index.html (today’s.
XP 1 Working with Cascading Style Sheets Creating a Style for Online Scrapbooks Tutorial 7.
Copyright © 2004 ProsoftTraining, All Rights Reserved. Lesson 9: Frames © 2007 Prosoft Learning Corporation All rights reserved ITD 110 Web Page Design.
Copyright © 2004 ProsoftTraining, All Rights Reserved. Lesson 9: HTML Frames.
HTML Tags. Objectives Know the commonly used HTML tags Create a simple webpage using the HTML tags that will be discussed.
Marquees and Standards Module 2: HTML Basics LESSON 9.
Creating and Editing a Web Page
1 Web Developer & Design Foundations with XHTML Chapter 5 Key Concepts.
Intro to Dreamweaver Web Design Section 7-1 Part or all of this lesson was adapted from the University of Washington’s “Web Design & Development I” Course.
Chapter 1 XHTML: Part I The Web Warrior Guide to Web Design Technologies.
Copyright © Terry Felke-Morris WEB DEVELOPMENT & DESIGN FOUNDATIONS WITH HTML5 7 TH EDITION Chapter 2 Key Concepts 1 Copyright © Terry Felke-Morris.
Using Html Basics, Text and Links. Objectives  Develop a web page using HTML codes according to specifications and verify that it works prior to submitting.
1 HTML intro The development of HTMLThe development of HTML The transition from HTML to XHTMLThe transition from HTML to XHTML XHTML syntax, tags, and.
XHTML Instructor: Charles Moen CSCI/CINF XHTML  A stricter version of HTML  Extensible HTML  The XHTML specification is maintained by the World.
1 HTML XHTML. 2 Understand the Doctype tag Know the html tags which are now classed as depreciated Understand how Dreamweaver adds styles Add styles to.
1 Web Developer Foundations: Using XHTML Chapter 2 Key Concepts.
1 Background and Text Links CGS3066 Rory J. De Simone.
Section 4.1 Format HTML tags Identify HTML guidelines Section 4.2 Organize Web site files and folder Use a text editor Use HTML tags and attributes Create.
More Basic XHTML Module 2: XHTML Basics LESSON 2.
Lesson 2 Adding more content to your web page. Thanks to Richard Hudnutt, Luella HS.
Unit 2, cont. September 12 More HTML. Attributes Some tags are modifiable with attributes This changes the way a tag behaves Modifying a tag requires.
Tables Module 2: HTML Basics LESSON Extension. Module 2: HTML Basics LESSON Extension Lesson Overview In this lesson, you will learn to:  Create tables.
Week 1 – Beginners Content McAfee & Big Fish Games CoderDojo.
Web Development & Design Foundations with XHTML Chapter 2 HTML/XHTML Basics.
Images and Tables ables.asp.
The Good, the Bad & the Ugly: Style and design in Website creation Chris Webster: Information Officer and Website Manager at the EARL Consortium for Public.
Easy WP Guide V2.6 for WordPress 3.8. easywpguide.com Adding Tags within your Post Adding Tags whilst editing your Post, will automatically assign those.
Site Development Foundations © 2004 ProsoftTraining All rights reserved.
Revision Webpage design HTML.   FACE  Attributes  Marquee  Define the following terms.
XHTML Introductory1 Frames Chapter 5. XHTML Introductory2 Objectives In this chapter, you will: Work with the Frameset Document Type Definition (DTD)
HTML Help book. HTML HTML is the programming language used to make web pages for the Internet. HTML stands for Hyper Text Markup Language. HTML is made.
What is XHTML? XHTML stands for Extensible Hypertext Markup Language
Section 10.1 Define scripting
Section 4.1 Section 4.2 Format HTML tags Identify HTML guidelines
Images, Hyperlinks, and Sound
LESSON 2 Module 2: XHTML Basics More Basic XHTML.
Validation.
Project Objectives Publish to a remote server
Intro to Dreamweaver Web Design Section 8-1
Intro to HTML Mr. Singh.
W3C Web standards and Recommendations
CIIT-Human Computer Interaction-CSC456-Fall-2015-Mr
Web Development & Design Foundations with HTML5 8th Edition
Section 17.1 Section 17.2 Add an audio file using HTML
AN INTRODUCTORY LESSON TO MAKING A SIMPLE WEB PAGE By: RC Emily Solis
HTML Robert McIntosh
HTML Images CS 1150 Spring 2017.
Validation.
XHTML
Basic HTML and Embed Codes
LESSON Extension Module 2: HTML Basics Tables.
Instructor: Charles Moen
Introduction to Cascading Style Sheets (CSS)
Working with Cascading Style Sheets (CSS)
Working with Cascading Style Sheets (CSS)
Images, Hyperlinks, and Sound
LESSON 2 Module 2: XHTML Basics More Basic XHTML.
Introduction to XHTML Cont:.
LESSON 1 Module 2: XHTML Basics Basic XHTML.
HTML Images CS 1150 Fall 2016.
Introduction to HTML.
CIS 133 mashup Javascript, jQuery and XML
XHTML 7-May-19.
Dreamweaver.
XHTML 29-May-19.
محمد احمدی نیا XHTML محمد احمدی نیا
Creating Web Documents
HTML5 and CSS3 Illustrated Unit B: Getting Started with HTML
Presentation transcript:

Marquees and Standards LESSON 9 Module 2: XHTML Basics Marquees and Standards

Lesson Overview In this lesson, you will learn to: Create a marquee using HTML code. Apply W3C standards to tags commonly used in Web design. Lesson 9 Overview Point out to students that a marquee can’t be created using XHTML as the marquee tags have been deprecated.

Guiding Questions for Lesson 9 The tags <u>…</> (underlined text) and <s>…</s> (strikethrough text) are no longer accepted as code by the World Wide Web Consortium (W3C). Why do you think these tags have been dropped from the standards? What is the purpose of an <alt> tag? Post one or more of these questions in an area where students can read them and allow time for students to respond to the questions. Discuss the student answers these questions.

Marquees Allow text or images to “slide” across a Web page. Can add interest to a Web page. Not all browsers may be able to render the effect. Can be used to scroll information across the screen. Modern techniques have been created to generate this effect. The marquee tag allows for the sliding of text or an image across a Web page. While this effect can really make a Web page interesting, you should realize that this may not be able to be render everywhere by all browsers. Marquees are often used for information to be scrolled across the screen.

Simple Marquee Code The following code causes the words “Hi there!” to scroll across the screen from right to left. <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html> <head> <marquee>Hi there!</marquee> </head> </html> Marquee code can be very simple. The following code is all that is need to have the words “Hi there!” to scroll across the screen from right to left. Point out the use of the Transitional Doctype. This is because a marquee is supported by earlier HTML code but not in XHTML. <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html> <head> <marquee>Hi there!</marquee> </head> </html>

Marquee Attributes Below are a few of the attributes that can be added to the <marquee> tag: width=“xx%” defines how wide the marquee is on the screen height=“xx” defines how tall the marquee is on the screen direction= defines which direction the text or image travels; can be up, down, left or right behavior= defines the type of scrolling; can be scroll, slide or alternate (bounces from one side to the other) loop=“xx” defines how many times to complete the behavior bgcolor= defines the color behind the text or image As with other tags, attributes can be added to the marquee tag to change the effect of the tag. Below is a partial list of attributes that can be added to the <marquee> tag. width=“xx%” defines how wide the marquee is on the screen height=“xx” defines how tall the marquee is on the screen direction= defines which direction the text or image travels; can be up, down, left or right behavior= defines the type of scrolling; can be scroll, slide or alternate (bounces from one side to the other) loop=“xx” defines how many times to complete the behavior bgcolor= defines the color behind the text or image

Scrolling Images Marquees can be used to scroll images Similar code to inserting an image in a Web page <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html> <head> <marquee direction=“right”><img src=“S.2.9.WS_Smiley.jpg" height=“50” width=“50” /></marquee> </head> </html> Instead of scrolling text, a marquee can be used to scroll an image. The HTML code for this is very similar to that of placing an image on a Web page. Below is the code to have an image “Smiley” scroll from left to right across the screen: <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html> <head> <marquee direction=“right”><img src=“S.2.9.WS_Smiley.jpg" height=“50” width=“50” /></marquee> </head> </html>

Time to create your own marquee

Marquees have been deprecated The W3C considers marquees as deprecated or obsolete. Can’t be read by “reading” browsers used by sight impaired persons Can’t be displayed on mobile devices Technique does not follow the W3C’s Guideline 2.2 “Allow users to control time limits on their reading or interaction.” See: http://www.w3.org/WAI/GL/WCAG20/WD-WCAG20-20050211/#time-limits-pause Marquees are considered by the W3C to be a deprecated (a term for items that are to be avoided because the technique is obsolescent or has been replaced by another technique). Some of reasons for the deprecation are browsers used by sight impaired persons can’t translate the information and mobile devices cannot display marquees. Marquees do not follow the W3C’s Guideline 2.2 which requires Web sites “Allow users to control time limits on their reading or interaction.”

Web Accessibility Initiative Use the link below to access the “10 Quick Tips” recommended by the W3C for creating an accessible Web page http://www.w3.org/WAI/quicktips/Overview.php Use the W3C’s Web Accessibility Initiative Web site (http://www.w3.org/WAI/quicktips/Overview.php) to have students look at the “10 Quick Tips.” These tips should be used to check the accessibility of a Web site.

W3C’s Priority Checklist Jig Saw activity http://www.w3.org/TR/WCAG10/full-checklist.html Divide students into three groups. Assigned each group one of the priority checkpoints found on the W3C Web site at http://www.w3.org/TR/WCAG10/full-checklist.html. After sufficient time to understand the level of priority assigned to them, regroup students into groups of three with each person from a different priority level group (Jig Saw Activity). Each person summarizes for the others in the smaller group what was learned about their assigned priority level.