ART 379 Web Design. HTML, XHTML & CSS: Introduction, 1-2

Similar documents
Web Design Basics. Cindy Royal, Ph.D. Associate Professor Texas State University

HTML TIPS FOR DESIGNING

Fast track to HTML & CSS 101 (Web Design)

How to Properly Compose HTML Code : 1

ITNP43: HTML Lecture 4

CIS 467/602-01: Data Visualization

Web Development. Owen Sacco. ICS2205/ICS2230 Web Intelligence

Website Planning Checklist

Short notes on webpage programming languages

HTML, CSS, XML, and XSL

Introduction to XHTML. 2010, Robert K. Moniot 1

Creating HTML authored webpages using a text editor

Web Development I & II*

Web Design Revision. AQA AS-Level Computing COMP2. 39 minutes. 39 marks. Page 1 of 17

WEB DEVELOPMENT IA & IB (893 & 894)

EUROPEAN COMPUTER DRIVING LICENCE / INTERNATIONAL COMPUTER DRIVING LICENCE WEB EDITING

HTML CSS Basic Structure. HTML Structure [Source Code] CSS Structure [Cascading Styles] DIV or ID Tags and Classes. The BOX MODEL

Cascading Style Sheets (CSS)

BASICS OF WEB DESIGN CHAPTER 2 HTML BASICS KEY CONCEPTS COPYRIGHT 2013 TERRY ANN MORRIS, ED.D

Lesson Review Answers

Caldes CM12: Content Management Software Introduction v1.9

Using Style Sheets for Consistency

White Paper Using PHP Site Assistant to create sites for mobile devices

{color:blue; font-size: 12px;}

Web Development 1 A4 Project Description Web Architecture

Module 6 Web Page Concept and Design: Getting a Web Page Up and Running

Web Development CSE2WD Final Examination June (a) Which organisation is primarily responsible for HTML, CSS and DOM standards?

HTML and CSS. Elliot Davies. April 10th,

The Web Web page Links 16-3

Microsoft Expression Web

Responsive Web Design: Media Types/Media Queries/Fluid Images

Interspire Website Publisher Developer Documentation. Template Customization Guide

Microsoft Expression Web Quickstart Guide

JJY s Joomla 1.5 Template Design Tutorial:

Basic Website Maintenance Tutorial*

Advanced Web Design. Zac Van Note.

Web Authoring CSS. Module Descriptor

You can use percentages for both page elements and text. Ems are used for text,

Designing HTML s for Use in the Advanced Editor

Introduction to Web Design Curriculum Sample

Release: 1. ICAWEB414A Design simple web page layouts

What is CSS? Official W3C standard for controlling presentation Style sheets rely on underlying markup structure

Looking Good! Troubleshooting Display Problems

Responsive Web Design Creative License

HOW TO CREATE THEME IN MAGENTO 2

Basics of HTML (some repetition) Cascading Style Sheets (some repetition) Web Design

CST 150 Web Design and Development I Midterm Exam Study Questions Chapters 1-3

Dreamweaver Domain 2: Planning Site Design and Page Layout

How To Create A Web Page On A Windows (For Free) With A Notepad) On A Macintosh (For A Freebie) Or Macintosh Web Browser (For Cheap) On Your Computer Or Macbook (

Introduction to Ingeniux Forms Builder. 90 minute Course CMSFB-V6 P

AJAX The Future of Web Development?

Introduction to XML Applications

We automatically generate the HTML for this as seen below. Provide the above components for the teaser.txt file.

MAGENTO TRAINING PROGRAM

EXAM - M Magento Front End Developer. Buy Full Product.

Introduction to Web Development

Web Developer Jr - Newbie Course

CUSTOMER+ PURL Manager

BUILDING MORE ACCESSIBILE SITES. SharePoint 2010

Appendix H: Cascading Style Sheets (CSS)

DEMO ONLY VERSION. Easy CramBible Lab M Magento Front End Developer Certification Exam. ** Single-user License **

ICE: HTML, CSS, and Validation

GUIDE TO CODE KILLER RESPONSIVE S

Outline of CSS: Cascading Style Sheets

MAGENTO THEME SHOE STORE

How To Use Dreamweaver With Your Computer Or Your Computer (Or Your Computer) Or Your Phone Or Tablet (Or A Computer)

About XML in InDesign

JISIS and Web Technologies

Fortis Theme. User Guide. v Magento theme by Infortis. Copyright 2012 Infortis

Making Content Editable. Create re-usable templates with total control over the sections you can (and more importantly can't) change.

Using Adobe Dreamweaver CS4 (10.0)

Course: CSC 224 Internet Technology I (2 credits Compulsory)

Web Building Blocks. Joseph Gilbert User Experience Web Developer University of Virginia Library

Learning Web Design. Third Edition. A Beginner's Guide to (X)HTML, Style Sheets, and Web Graphics. Jennifer Niederst Robbins

Step 2 Open Kompozer and establish your site. 1. Open Kompozer from the Start Menu (at the Polytechnic) or from the downloaded program.

WordPress and HTML Basics

01/42. Lecture notes. html and css

Kentico CMS, 2011 Kentico Software. Contents. Mobile Development using Kentico CMS 6 2 Exploring the Mobile Environment 1

Interactive Data Visualization for the Web Scott Murray

Internet Technologies_1. Doc. Ing. František Huňka, CSc.

ADOBE DREAMWEAVER CS3 TUTORIAL

Accessibility in e-learning. Accessible Content Authoring Practices

Course Information Course Number: IWT 1229 Course Name: Web Development and Design Foundation

How to Create a Mobile Responsive Template in ExactTarget

Coding HTML Tips, Tricks and Best Practices

Fundamentals of Web Design (One Semester)

Madison Area Technical College. MATC Web Style Guide

How To Write A Web Page In Html

Creating your personal website. Installing necessary programs Creating a website Publishing a website

Web Design and Development ACS Chapter 7. Working with Links

CSS 101. CSS CODE The code in a style sheet is made up of rules of the following types

Transcription:

HTML, XHTML & CSS: Introduction, 1-2

History: 90s browsers (netscape & internet explorer) only read their own specific set of html. made designing web pages difficult! (this is why you would see disclaimers at the start of sites that said best viewed in IE 3.0 )

History: 90s browsers (netscape & internet explorer) only read their own specific set of html. made designing web pages difficult! (this is why you would see disclaimers at the start of sites that said best viewed in IE 3.0 ) W3C, the World Wide Web Consortium, pushed for standardization, first with HTML 3.2, then HTML 4 and CSS. (And now HTML 5 and CSS3!)

History: 90s browsers (netscape & internet explorer) only read their own specific set of html. made designing web pages difficult! (this is why you would see disclaimers at the start of sites that said best viewed in IE 3.0 ) W3C, the World Wide Web Consortium, pushed for standardization, first with HTML 3.2, then HTML 4 and CSS. (And now HTML 5 and CSS3!) CSS (cascading style sheets) allows for rules to be applied to a whole site, not just to a single page. Any old formatting tags are now considered deprecated. Use sparingly.

XHTML: the mix of XML + HTML XML is the W3Cs answer to creating a more flexible platform on which to write pages. HTML alone doesn t allow for easy expansion (new tags, etc).

XHTML: the mix of XML + HTML XML is the W3Cs answer to creating a more flexible platform on which to write pages. HTML alone doesn t allow for easy expansion (new tags, etc). Browsers aren t all up to date with the new standards though, and in order for old sites to still be read, W3C rewrote HTML in XML. The combination = XHTML

XHTML: the mix of XML + HTML XML is the W3Cs answer to creating a more flexible platform on which to write pages. HTML alone doesn t allow for easy expansion (new tags, etc). Browsers aren t all up to date with the new standards though, and in order for old sites to still be read, W3C rewrote HTML in XML. The combination = XHTML XHTML is more strict. Remember your quotation marks. No capital letters. The standard for US accessibility regulations. Works best with the newest browsers.

How This Book Works: page 23, Figure i.1, i.2, i.3

Vocabulary Markup: information about the content of a site.

Vocabulary Markup: information about the content of a site. 3 principle types: Elements, Attributes, & Values

Vocabulary Markup: information about the content of a site. 3 principle types: Elements, Attributes, & Values labels that identify and structure the web site

Vocabulary Markup: information about the content of a site. 3 principle types: Elements, Attributes, & Values regular: surround text empty: no text content definition of <em>ephemeral</em> <img src= blueflax.jpg />

Vocabulary Markup: information about the content of a site. 3 principle types: Elements, Attributes, & Values regular: surround text empty: no text content definition of <em>ephemeral</em> <img src= blueflax.jpg /> opening tag affected text closing tag

Vocabulary Markup: information about the content of a site. 3 principle types: Elements, Attributes, & Values contain information about the data located inside an element s opening tag

Vocabulary Markup: information about the content of a site. 3 principle types: Elements, Attributes, & Values contain information about the data located inside an element s opening tag <img src= blueflax.jpg width= 300 />

Vocabulary Markup: information about the content of a site. 3 principle types: Elements, Attributes, & Values always in quotes <img src= blueflax.jpg width= 300 /> numbers (pixels), percentages, lowercase predefined names

Identify the parts: <link rel= stylesheet type= text/css media= screen href= blueflax.css />

Identify the parts: <link rel= stylesheet type= text/css media= screen href= blueflax.css /> Element

Identify the parts: <link rel= stylesheet type= text/css media= screen href= blueflax.css /> Attribute

Identify the parts: <link rel= stylesheet type= text/css media= screen href= blueflax.css /> Value

Identify the parts: <link rel= stylesheet type= text/css media= screen href= blueflax.css /> Element Attribute Value

Block vs. Inline Elements can be block or inline. Block: will begin on a new line on your site. Inline: will only affect text or other inline elements. Will not start on a new line.

Block vs. Inline page 30, Figure 1.6

Parents and Children If one element contains another, it is considered to be a parent of the enclosed, or child element. Any elements contained in the child element are considered descendants of the parent element. This differentiation will become much more important later, when you start using CSS to style your websites. For now, just be aware of the distinction.

Nesting the most important thing to remember is to keep nested elements in the correct order: <p>...of <em>ephemeral</em></p>

Nesting keep nested elements in the correct order: <p>...of <em>ephemeral</em></p> NOT <p>...of <em>ephemeral</p></em>

Translations! the default structure of a site is: in the order you write it! in a column from the top left

Translations! the default structure of a site is:

Links, Images, other non-text Content you store this data elsewhere, and reference it in your XHTML. <img src= /blueflax.jpg width= 300 />

Absolute vs. Relative URLs there are two ways to reference a link: either from files you have uploaded yourself OR from a site elsewhere. <img src= www.flowers.com/blueflax.jpg width= 300 /> the example above is an absolute link. what does that mean?

Absolute vs. Relative URLs there are two ways to reference a link: either from files you have uploaded yourself OR from a site elsewhere. <img src= /blueflax.jpg width= 300 /> the example above is a relative link.

Absolute vs. Relative URLs there are two ways to reference a link: either from files you have uploaded yourself OR from a site elsewhere. <img src= /blueflax.jpg width= 300 /> the example above is a relative link. what does that mean? what does the / mean in the code? why would you use this? what would my code be if my images were in a folder named images?

Organizing Files Organization is going to be key as your web site grows Create a folder on your desktop Inside, create a folder named mywebsite images

General Rules use only lowercase letters for the names of files and folders use the proper extension for each page:.html review that you have closed all open tags and quotes when you find you have a problem. keep your files organized!

Review: How do you upload your html file to be viewed online? What must your homepage be named? How can you see the code of every website?

Quick Site! Utilizing Castro s example, edit the content to make it your own.

Practice Continue with the html basics on the W3 schools basics website. You can find the link on our tumblr site: http://emuwebwinter.tumblr.com/