Ch 5 HTML and CSS Web Standards Solutions A Web Standardistas’ Approach.

Slides:



Advertisements
Similar presentations
Introduction to Web Design Lecture number:. Todays Aim: Introduction to Web-designing and how its done. Modelling websites in HTML.
Advertisements

HTML Basics Customizing your site using the basics of HTML.
4.01 How Web Pages Work.
MMDE5011 – INTERACTIVE MEDIA PRACTICE 1 WEEK 1: INTRODUCTION TO HTML5
HTML5 and CSS3 Illustrated Unit E: Inserting and Working with Links
Objective Understand web-based digital media production methods, software, and hardware. Course Weight : 10%
HTML and Web Page Design Presented by Frank H. Osborne, Ph. D. © 2005 ID 2950 Technology and the Young Child.
Internet Publishing / Dreamweaver Luke E. Reese ANR Educ. and Communication Systems
Internet Publishing / Dreamweaver Luke E. Reese CARRS
Topics in this presentation: The Web and how it works Difference between Web pages and web sites Web browsers and Web servers HTML purpose and structure.
Chapter 2 Introduction to HTML5 Internet & World Wide Web How to Program, 5/e Copyright © Pearson, Inc All Rights Reserved.
How the World Wide Web Works
HTML Tags. Objectives Know the commonly used HTML tags Create a simple webpage using the HTML tags that will be discussed.
LEARN THE QUICK AND EASY WAY! VISUAL QUICKSTART GUIDE HTML and CSS 8th Edition Chapter 2: Working with Webpage Files.
Intro to MIS – MGS351 Building a Webpage. Chapter Overview m The World Wide Web – Web servers, Web browsers and Web pages m HTML Introduction m Using.
 Using Microsoft Expression Web you can: › Create Web pages and Web sites › Set what you site will look like as you design it › Add text, images, multimedia.
Presenting Information on WWW using HTML. Presenting Information on the Web with HTML How Web sites are organized and implemented A brief introduction.
 2008 Pearson Education, Inc. All rights reserved Introduction to XHTML.
ULI101 – XHTML Basics (Part II) What is Markup Language? XHTML vs. HTML General XHTML Rules Block Level XHTML Tags XHTML Validation.
CNIT 132 – Week 3 HTML (2). Working with Links Using a link is a quicker way to access information at the bottom of a Web page than scrolling down. A.
4 HTML Basics 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.
HTML (HyperText Markup Language)
.  Entertain  Inform  Educate  Blogs  Sell  Date  Gamble  Religion.
Programming in HTML.  Programming Language  Used to design/create web pages  Hyper Text Markup Language  Markup Language  Series of Markup tags 
WEB DESIGN USING DREAMWEAVER. The World Wide Web –A Web site is a group of related files organized around a common topic –A Web page is a single file.
Week 1 Understanding the Web Design Environment. 1-2 HTML: Then and Now HTML is an application of the Standard Generalized Markup Language Intended to.
CIT 256 Dreamweaver Intro. Dr. Beryl Hoffman. Start Dreamweaver Start from Start Menu/Adobe Master Collection CS6/ Adobe Dreamweaver CS6 Choose Create.
Copyright (c) 2004 Prentice-Hall. All rights reserved. 1 Committed to Shaping the Next Generation of IT Experts. Project 4: Creating Hyperlinks Kelly L.
Chapter 2 HTML Basics Key Concepts Copyright © 2013 Terry Ann Morris, Ed.D 1.
XHTML Louise Soe updated September 2009.
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.
DHTML AND JAVASCRIPT Genetic Computer School LESSON 2 HTML TAGS G H E F.
Programming in HTML.  Programming Language  Used to design/create web pages  Hyper Text Markup Language  Markup Language  Series of Markup tags 
Introduction to HTML. What is a HTML File?  HTML stands for Hyper Text Markup Language  An HTML file is a text file containing small markup tags  The.
 2008 Pearson Education, Inc. All rights reserved Introduction to XHTML.
 The World Wide Web is a collection of electronic documents linked together like a spider web.  These documents are stored on computers called servers.
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.
1 John Magee 9 November 2012 CS120 Lecture 17: The World Wide Web and HTML Web Publishing.
XHTML1 Images N100 Building a Simple Web Page. XHTML2 The Element The src attribute specifies the filename of an image file To include the src attribute.
HTML: Hyptertext Markup Language Doman’s Sections.
Copyright (c) 2004 Prentice-Hall. All rights reserved. 1 Committed to Shaping the Next Generation of IT Experts. Adding Graphical Elements Essentials for.
Digital Multimedia, 2nd edition Nigel Chapman & Jenny Chapman Chapter 12 This presentation © 2004, MacAvon Media Productions Hypertext and Hypermedia.
4 HTML Basics 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.
The Web and HTML Tutorial Building a Webpage. Chapter Overview m The World Wide Web – Web servers, Web browsers and Web pages m HTML Introduction m Using.
2.1 XHTML. Motto High thoughts must have high language. –Aristophanes.
HTML Basics. HTML Coding HTML Hypertext markup language The code used to create web pages.
Internet Publishing / Dreamweaver Luke E. Reese Biosystems & Ag. Engr. / CARRS
Chapter 5 BIE2313 | Web design. ALL RIGHTS RESERVED No part of this document may be reproduced without written approval from Limkokwing University of.
HTML HyperText Markup Language Victoria E. Kozlek.
`. Lecture Overview HTML Body Elements Linking techniques HyperText references Linking images Linking to locations on a page Linking to a fragment on.
Understanding Web-Based Digital Media Production Methods, Software, and Hardware Objective
Copyright © Terry Felke-Morris WEB DEVELOPMENT & DESIGN FOUNDATIONS WITH HTML5 7 TH EDITION Chapter 2 Key Concepts 1 Copyright © Terry Felke-Morris.
Tutorial #1 Using HTML to Create Web Pages. HTML, XHTML, and CSS HTML – HyperText Markup Language The tags the browser uses to define the content of the.
Sitecore Basic Training Content Management System (CMS) University Communications Web Services
HTML5 and CSS3 Illustrated Unit E: Inserting and Working with Links.
4.01 How Web Pages Work.
4.01 How Web Pages Work.
Introduction to HTML.
Pre-Production Meet with the client to create a project plan:
4.01 How Web Pages Work.
Objective % Select and utilize tools to design and develop websites.
Section 4.1 Section 4.2 Format HTML tags Identify HTML guidelines
Inserting and Working with Images
AN INTRODUCTORY LESSON TO MAKING A SIMPLE WEB PAGE By: RC Emily Solis
Objective % Select and utilize tools to design and develop websites.
Building a Webpage Extended Learning Module F
Objective Understand web-based digital media production methods, software, and hardware. Course Weight : 10%
4.01 How Web Pages Work.
4.01 How Web Pages Work.
4.00 Apply procedures to add content by using Dreamweaver. (22%)
Presentation transcript:

Ch 5 HTML and CSS Web Standards Solutions A Web Standardistas’ Approach

 Typical image formats used on the Web .jpg,.png,.gif  in Action - <img src=“your_file_name.jpg” alt=“screen_reader description”/>  One of the few self closing tags - />  To validate an img tag is must be in a block-level element. This can be achieved for now using:  Provides a reference to where the image is stored in your filing system in relation to the HTML file it appears in.

 width and height attributes tell the browser what dimensions the image should be – typically in pixels.  The browser will reserve space for the image in the HTML.  The title attribute supplies further information about the image.  alt and title serve different purposes:  alt – for accessibility purposes  title – additional information  alt often appears as a tooltip, but this is only a bonus to all users, not its intended function.

 Creating images can be through:  Scanning an image  Taking a digital photograph  Editing images can be through the likes of Photoshop  Image optimization  Use standard format such as.jpg or.png  Compressing without loss of quality is always a trade-off  Use ‘Save for Web’ option were possible

 Size matters  Pixels and scaling issues  Bitmap  Vector

Ch 6 HTML and CSS Web Standards Solutions A Web Standardistas’ Approach

 So far structured markup has allowed for the creation of a single valid Web page.  The Web is all about linking pages together.  What is an ‘Anchor’  It allows the tying together of pieces of information  Creating a relationship between items  Anchors can link pages within a website or link to other websites

What will appear in the browser  Typically the hypertext reference (web link) will appear with a blue colour and have an underline. This will change to purple when clicked to show the link has been visited.  Through the use of CSS you have complete control of the styling of the colour and decoration of the links.  Choose the link description carefully to aid accessibility.

What will appear in the browser  title attribute  It is to offer advisory information about the element  It appears as a Tooltip when the mouse cursor is held over the link.  Screen reader will also read out the text.

What will appear in the browser  Links can be either  External  <a href=“ your site  Local  <a href=“folder/file_nameWithin your site  Internal  <a href=“#nameWithin your webpage 

 & needs to be replaced with &  < needs to be replaced with < (less than symbol)  Target=“_blank” Sometime it is necessary to open a new window, but this is frowned upon by the W3C guidelines.

 Absolute  <a href=“server/folder/file”  It does not matter if the file is stored on a Windows or UNIX based platform ALL will accept “/”  What is “/” ?  Typically it is a divider between names on the path to your file, but it is also the way to anchor to the ‘root’ of the storage of the files.  Best used for linking to external site

 Relative  <a href=“../folder/file”  What is “../” ?  Typically it is a divider between names on the path to your file, but it is also the way to move up one directory in the tree and then it is possible to move down another branch.  Best used for linking to internal site pages  Whenever you want to take your site to another machine it preserves the relative interconnections.

/des106imagesphoto.jpgcsssite.csscom149imgpicture.pngcsslayout.csshtmlindex.html root of website folders files

 Move relatively from ‘index.html’ to access the file ‘layout.css’ and include ‘picture.png’  From ‘index.html’ access ‘photo.jpg’../../css/layout.css../../../des106/images/photo.jpg /des106/images/photo.jpg

 Root - /top level immediately Absolute  Current folder./stay at this level  Parent folder../move up one level from where you currently are Relative

 Web servers, Apache and IIS will automatically run the following for static content:  index.html  index.htm  default.html  default.htm  welcome.html  welcome.htm

Useful Tips

404 Not Found  The browser could not find the specific document that you requested on the host computer.  To resolve this error, check the Uniform Resource Locator (URL) syntax (some URLs are case sensitive). In addition, the page may have been removed, had its name changed, or have been moved to a new location.  To rise above the mundane, some have made 404 error pages a work of art – see 404 Research Lab ( for some creative 404 pages.

403 Forbidden/Access Denied  The Web site you requested requires special access permission (for example a password). 503 Service Unavailable  The host computer is too busy or the Web server which hosts the requested Web site is down.

List of page error codes: -sec10.html

 One of the hallmark attributes of web standards- based design is the concept that proper use of semantic (X)HTML and CSS completely abstracts the presentation of a site from its content.  One key real-world benefit of this separation is that come redesign time, one only needs to change or replace the CSS stylesheet, and needn’t lay so much as a finger upon the hallowed grounds we call markup. Source:

 center  color

 Used for storing, controlling, versioning, and publishing industry-specific documentation such as news articles, operators' manuals, technical manuals, sales guides, and marketing brochures. The content managed may include computer files, image media, audio files, video files, electronic documents, and Web content.  CMS made simple  Joomla  Drupal Source: Wikipedia