XHTML References and Rules William Pegram Revised 9/5/2012.

Slides:



Advertisements
Similar presentations
Creating a eportfolio Mrs Bhayat. Setting up a website When you open Dreamweaver you have to set up a site and you do this as you are shown above. You.
Advertisements

CHAPTER 3 MORE ON FORM HANDLING INCLUDING MULTIPLE FILES WRITING FUNCTIONS.
Cascading Style Sheets
Advanced Web Design Using Dreamweaver Robby Seitz 121 Powers Hall
WDV 331 Dreamweaver Applications Site Assets Dreamweaver CS6 Chapter 15.
History Leading to XHTML
17/10/11. 2  The form element ( ) is used to include a number of form elements together so that they can be referenced by some other code in order to.
Macromedia Dreamweaver 4 Foundation Level Course.
COMP101 – Exploring Multimedia and Internet Computing LA2 (Thur 14:00 – 16:50) TA: Jackie Lo.
Create internal and external links Create internal links to named anchors Insert Flash Text Create, modify, and copy navigation bar Manage Web site links.
There is a certain way that an HTML file should be set up. The HTML section declares a beginning and an ending. Within the HTML, there should be a HEAD.
Understanding HTML Style Sheets. What is a style?  A style is a rule that defines the appearance and position of text and graphics. It may define the.
Chapter 9 Collecting Data with Forms. A form on a web page consists of form objects such as text boxes or radio buttons into which users type information.
HTML Essentials Frames and Frame Tags. Introduction A frame used to be an effective design tool Utilized space effectively by subdividing screen One idea:
Cascading Style Sheets (CSS) 1.  What is CSS?  Why CSS?  How to write a CSS? 2.
Robby Seitz 121 Powers Hall ADVANCED WEB DESIGN USING DREAMWEAVER.
Working with XHTML Creating a Well-Formed Valid Document.
ULI101 – XHTML Basics (Part II) What is Markup Language? XHTML vs. HTML General XHTML Rules Block Level XHTML Tags XHTML Validation.
Bare bones notes. Suggested organization for main folder. REQUIRED organization for the 115 folder.
LEARN THE QUICK AND EASY WAY! VISUAL QUICKSTART GUIDE HTML and CSS 8th Edition Chapter 1: Webpage Building Blocks.
XHTML Introduction to Xtensible HyperText Markup Language Screen Readers – Click the Notes button in the lower right corner.
Overview of HTML/XHTML Two Different Approaches  Text editor like Notepad  HTML editor such as: –KompoZer –DreamWeaver –Microsoft Expression Web –iWeb.
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.
Bare bones slide show. The format is text files, with.htm or.html extension. Hard returns, tabs, and extra spaces are ignored. DO NOT use spaces in file.
Chapter 4 BIE1313/BPROG1203 | Web design Prepared by Mohamed Abdulkarim / Mike Ng Ah Ngan.
IS1825: Developing Multimedia Applications for Business Lecture 1: Introduction to CSS Rob Gleasure
TC 310 The Computer in Technical Communication Dr. Jennifer Turns Week 4, Day 2 (4/23)
Website Development & Management Going Live with Web Pages (b) CIT Fall Instructor: John Seydel, Ph.D.
Adobe Dreamweaver CS3 Revealed CHAPTER THREE: WORKING WITH TEXT AND IMAGES.
XHTML 1.1  Derived from Standard Generalized Markup Language (SGML) of ISO  XHTML concerned primary with content rather than presentation and style 
CIS67 Foundations for Creating Web Pages Professor Al Fichera Rev. August 25, 2010—All HTML code brought to XHTML standards.
And adding hyperlinks. MyWebpage Everything that we want in our website, including other folders, documents, xhtml files, image files, css files should.
Review for exam 1 Midterm Closed Book. Review for Exam 1 Blackboard topic Review for exam 1 Sample Question Multiple Choice True / False Matching type.
XHTML References and Rules William Pegram Revised 9/15/2015.
© 2011 Delmar, Cengage Learning Chapter 3 Working with Text and Cascading Style Sheets.
Macromedia Dreamweaver 8 Revealed AND GRAPHICS WORKING WITH TEXT.
Web Terminology Intro to Web. North Lake College 2 by Sean Griffin HTML vs. XHTML HTML: Hypertext Markup Language XHTML: eXtensible Hypertext Markup Language.
Site Organization. The Need to Organize Site Files Thus far, we have placed all our site files into the main (root) website folder. As a website becomes.
©SoftMoore ConsultingSlide 1 Introduction to HTML: Basic Document Structure.
Week 2: Building a Simple Website IMC 320 Web Publishing Spring 2011.
HTML Basics. HTML Coding HTML Hypertext markup language The code used to create web pages.
3.02E Website File Management 3.02 Develop webpages.
Introduction to HTML UWWD. Agenda What do you need? What do you need? What are HTML, CSS, and tags? What are HTML, CSS, and tags? html, head, and body.
HTML Assoc. Prof. Rozinah Jamaludin 28 January 2010.
XP Review 1 New Perspectives on JavaScript, Comprehensive1 Introducing HTML and XHTML Creating Web Pages with HTML.
Chapter 5 BIE2313 | Web design. ALL RIGHTS RESERVED No part of this document may be reproduced without written approval from Limkokwing University of.
© ExplorNet’s Centers for Quality Teaching and Learning 1 Objective % Understand advanced production methods for web-based digital media.
CSS Cascading Style Sheets *referenced from
CSS FOUNDATIONS IN-DEPTH The nitty-gritty of css...
Department of Computer Science, Florida State University CGS 3066: Web Programming and Design Spring
Source of website: “Text/css rel=“styles heet” This is an external style sheet link. This means that the.
Glencoe Introduction to Web Design Chapter 4 XHTML Basics 1 Review Do you remember the vocabulary terms from this chapter? Use the following slides to.
CSS Introductions. Objectives To take control of the appearance of a Web site by creating style sheets. To use a style sheet to give all the pages of.
HTML Structure & syntax
HTML Links CS 1150 Spring 2017.
External Style Sheets.
Objective % Select and utilize tools to design and develop websites.
Unit Objectives Create a new page Import text Set text properties
XHTML References and Rules
Objective % Select and utilize tools to design and develop websites.
CISC103 Web Development Basics: Web site:
HTML Tags and References to other Files
Web Page Validation File management and Referencing
HTML5 Session II Chapter 2 - How to Code, Test and Validate a Web Page Chapter 3 - How to Use HTML to Structure a Web Page
TC 310 The Computer in Technical Communication
Dreamweaver.
HTML Links CS 1150 Fall 2016.
HTML Tags and References to other Files
Website File Management
Cascading Style Sheets™ (CSS)
Presentation transcript:

XHTML References and Rules William Pegram Revised 9/5/2012

Reminders Filenames and foldernames should not have spaces in them All the content of the webpage should go between the and Things in between and – - required for validation – - embedded stylesheet (optional) – - for external stylesheets (optional) – - meta tags (optional) – - JavaScript (optional; can also be in body)

References to Other Files HTML/XHTML files often contain references to other files. Examples of such references are: – Links – Images (inline or background) – External stylesheets – Flash movies – External JavaScript files

Ways of Referencing Other Files Absolute using -- this is the only way to reference files on other websites Relative – the location of the file is specified relative to the location of the file in which the reference is contained Absolute using a beginning / (Dreamweaver calls these site-root references) – one specifies the path to the file beginning with the top level (root) of the site

Relative References If both files are in the same folder, just specify the filename If in different folders, do like in the following example – Suppose you have a folder named redskins and at the top level of this folder you have files called allen.html and shanahan.html, a folder named offense and a folder named defense in the offense folder there is a file called mcnabb.html and in the defense folder there is a file called haynesworth.html

Relative references From the shanahan.html file, references to the other files would be written as follows: General Manager QB From the mcnabb.html file, references to the other files would be written as follows: Coach Albert The../ takes you up one level, out of current folder; it can be repeated multiple times../../ for up two levels, etc.

Use of leading / in reference If the reference begins with a / rather than a../, the / means to start at the top level of the site. It is thus an absolute reference because the reference doesn't depend on where you are coming from, only where you are going to While this may seem like a simpler way to do the reference, the leading / has several disadvantages: – The reference can't be tested locally (i.e. File>Open) – What is the root of the site can depend on where the site is hosted, so the site becomes less portable than if the reference were relative

XHTML Rules All tags and attribute names lowercase Attribute values must be in double quotes No one-sided tags – use /> to end such tags Attributes must be set equal to values, thus in a radio button or checkbox you can't just used checked, but must say checked="checked" Thus instead of writing One writes