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

Similar documents
Chapter 2 HTML Basics Key Concepts. Copyright 2013 Terry Ann Morris, Ed.D

ICT 6012: Web Programming

WEB DESIGN LAB PART- A HTML LABORATORY MANUAL FOR 3 RD SEM IS AND CS ( )

Introduction to XHTML. 2010, Robert K. Moniot 1

HTML, CSS, XML, and XSL

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

Introduction to Web Design Curriculum Sample

Website Planning Checklist

Advanced Drupal Features and Techniques

Introduction Designing your Common Template Designing your Shop Top Page Product Page Design Featured Products...

So we're set? Have your text-editor ready. Be sure you use NotePad, NOT Word or even WordPad. Great, let's get going.

Creating HTML authored webpages using a text editor

ebooks: Exporting EPUB files from Adobe InDesign

Creating an HTML Document Using Macromedia Dreamweaver

The McGill Knowledge Base. Last Updated: August 19, 2014

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

Dreamweaver CS4 Day 2 Creating a Website using Div Tags, CSS, and Templates

How to Manage Your Eservice Center Knowledge Base

Selectors in Action LESSON 3

CSE 3. Marking Up with HTML. Tags for Bold, Italic, and underline. Structuring Documents. An HTML Web Page File

Creating a Resume Webpage with

Chapter 7 Page Layout Basics Key Concepts. Copyright 2013 Terry Ann Morris, Ed.D

HTML5 and CSS3 Part 1: Using HTML and CSS to Create a Website Layout

Basic Website Maintenance Tutorial*

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

How to Create an HTML Page

Web Development. Owen Sacco. ICS2205/ICS2230 Web Intelligence

Fast track to HTML & CSS 101 (Web Design)

Web Design and Databases WD: Class 7: HTML and CSS Part 3

Web Development 1 A4 Project Description Web Architecture

CREATING HORIZONTAL NAVIGATION BAR USING ADOBE DREAMWEAVER CS5

Dreamweaver CS6 Basics

Basic tutorial for Dreamweaver CS5

7 th Grade Web Design Name: Project 1 Rubric Personal Web Page

Quick Guide to the Cascade Server Content Management System (CMS)

SAULT COLLEGE OF APPLIED ARTS AND TECHNOLOGY SAULT STE. MARIE, ONTARIO COURSE OUTLINE

Web Design with Dreamweaver Lesson 4 Handout

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

How to Edit Your Website

An Attribute is a special word used inside tag to specify additional information to tag such as color, alignment etc.

EUROPEAN COMPUTER DRIVING LICENCE / INTERNATIONAL COMPUTER DRIVING LICENCE WEB EDITING

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

Web Developer Jr - Newbie Course

Version 4.0. Unit 3: Web Design. Computer Science Equity Alliance, Exploring Computer Science Unit 3: Web Design 102

Course Duration: One hour Theory and 3 hours practical per week for 15weeks. As taught in 2010/2011 Session

Introduction to Drupal

With tags you can create italic or bold characters, and can control the color and size of the lettering.

State of Nevada. Ektron Content Management System (CMS) Basic Training Guide

How to code, test, and validate a web page

Dreamweaver. Introduction to Editing Web Pages

Lesson Review Answers

XHTML BASICS. Institute of Finance Management CIT Department Herman Mandari

Chapter 8 More on Links, Layout, and Mobile Key Concepts. Copyright 2013 Terry Ann Morris, Ed.D

MAGENTO THEME SHOE STORE

Urban Planet Website Content Management System. Step-by-Step Instructions

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

Web Portal User Guide. Version 6.0

BLACKBOARD 9.1: Text Editor

ICE: HTML, CSS, and Validation

Timeline for Microsoft Dynamics CRM

Microsoft Expression Web Quickstart Guide

Short notes on webpage programming languages

Accessibility in e-learning. Accessible Content Authoring Practices

Web Design and Development ACS Chapter 9. Page Structure

PowerPointoint Presentations a n d T U S K [

KEZBER CONTENT MANAGEMENT SYSTEM MANUAL

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

Web Design & Development - Tutorial 04

Embedding a Data View dynamic report into an existing web-page

collab.virginia.edu UVACOLLAB ECLPS: BUILDING COURSE PORTALS UVaCollab User Guide Series

Using the Content Management System

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

Mastering the JangoMail EditLive HTML Editor

Umbraco v4 Editors Manual

About webpage creation

ITNP43: HTML Lecture 4

Using an external style sheet with Dreamweaver (CS6)

Web Authoring CSS. Module Descriptor

Caldes CM12: Content Management Software Introduction v1.9

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

Introduction to Web Development

Cisco Adaptive Security Appliance (ASA) Web VPN Portal Customization: Solution Brief

Using Adobe Dreamweaver CS4 (10.0)

Altru Masters Workshop Creating the Best Online Experience for your Patrons Part 1: Online Basics

Creating Personal Web Sites Using SharePoint Designer 2007

Interactive Data Visualization for the Web Scott Murray

Basic Formatting of a Microsoft Word. Document for Word 2003 and Center for Writing Excellence

Web Development I & II*

IAS Web Development using Dreamweaver CS4

Semantic HTML. So, if you're wanting your HTML to be semantically-correct...

WHITEPAPER. Skinning Guide. Let s chat Velaro info@velaro.com by Velaro

Transcription:

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

LEARNING OUTCOMES Describe the anatomy of a web page Format the body of a web page with block-level elements including headings, paragraphs, lists, and blockquotes Configure the text on a web page with inline elements Configure text with phrase elements Configure special entity characters, line breaks, and horizontal rules Configure a web page using new HTML5 header, nav, and footer elements Use the anchor element to link from page to page Configure absolute, relative, and e-mail hyperlinks Test a web page for valid HTML syntax

SUGGESTIONS TRY everything in the book. Start with a copy of the basic hello world file you created last week. Make a few changes in your editor and then view it in the browser. Save then REFRESH to see changes. Don t worry about how it looks - we will learn to style using CSS in a few weeks. 3

THE HEADING ELEMENT <h1>heading Level 1</h1> <h2>heading Level 2</h2> <h3>heading Level 3</h3> <h4>heading Level 4</h4> <h5>heading Level 5</h5> <h6>heading Level 6</h6>

THE PARAGRAPH ELEMENT <P> TAG Paragraph element <p> paragraph goes here </p> Groups sentences and sections of text together. Configures empty space above and below the paragraph

THE LINE BREAK ELEMENT <BR> TAG Line Break element Stand-alone tag (no closing tag) Called a void element in HTML5 text goes here <br> This starts on a new line. Causes the next element or text to display on a new line

THE HORIZONTAL RULE ELEMENT <HR> TAG Horizontal Rule element void element <hr > Configures a horizontal line on the page In HTML5, it should be used to indicate a thematic break at the paragraph level

THE BLOCKQUOTE ELEMENT <BLOCKQUOTE> Blockquote element Indents a block of text for special emphasis <blockquote> text goes here </blockquote>

PHRASE ELEMENTS Indicate the context and meaning of the text Display inline with the text Common Phrase Elements (more in book) <strong></strong> Text has strong importance and is displayed in bold <em></em> Text has emphasis and is displayed in italic font

PROPER NESTING Inline elements are nested WITHIN block elements. CODE: <p><i>call for a free quote for your web development needs: <strong>888.555.5555 </strong></i></p> BROWSER DISPLAY: Call for a free quote for your web development needs: 888.555.5555 10

HTML LIST BASICS Unordered List (bullets) Description List (XHTML Definition List, term & definition) Ordered List (numbers)

UNORDERED LIST Displays information with bullet points Unordered List Element <ul> Contains the unordered list List Item Element <li> Contains an item in the list

UNORDERED LIST EXAMPLE <h1>my Favorite Colors</h1> <ul> <li>blue</li> <li>teal</li> <li>read</li> </ul>

ORDERED LIST Conveys information in an ordered fashion Ordered List Element <ol> Contains the ordered list type attribute determines numbering scheme of list default is numerals List Item Element <li> Contains an item in the list

ORDERED LIST EXAMPLE <ol> <li>apply to school</li> <li>register for course</li> <li>pay tuition</li> <li>attend course</li> </ol>

ORDERED LIST ATTRIBUTES (P 38) Use the type attribute to change the default numbers to letters or roman numerals. Use the start attribute to start at a different number than 1 Use the reversed attribute for descending order 16

DESCRIPTION LIST Formerly called a definition list in XHTML and HTML 4.0 Uses: Display a list of terms and descriptions Display a list of FAQ and answers The Description List element <dl> tag Contains the definition list The dt Element <dt> tag Contains a term or name The dd Element <dd> tag Contains a definition or description Indents the text

DESCRIPTION LIST EXAMPLE <dl> <dt>ip</dt> <dd>internet Protocol</dd> <dt>tcp</dt> <dd>transmission Control Protocol</dd> </dl>

SPECIAL ENTITY CHARACTERS Display special characters such as quotes, copyright symbol, etc. Character Code < < > > & &

Check your code for syntax errors Benefit: Valid code more consistent browser display WRITING VALID HTML W3C HTML Validation Tool - http://validator.w3.org Additional HTML5 Validation Tool - http://html5.validator.nu Browser extensions can also validate - I have used HTML Validator - http://users.skynet.be/mgueury/mozilla/new_upgrade4.html (view source code to see errors) Firebug - http://getfirebug.com/ - with Validator extension shows errors in Firebug console Web Developer Toolbar - http://chrispederick.com/work/web-developer/ Click Tools to validate html and css

THE DIV ELEMENT <DIV> Purpose: Configure a specially formatted division or area of a web page Block display with empty space above and below the div Can contain other block display and inline display elements 21

HTML5 STRUCTURAL ELEMENTS header Element <header></header> Contains the web page document s headings nav Element <nav></nav> Contains web page document s main navigation main element <main> </main> Contains the main content of the web page main footer Element <footer></footer> Contains the web page document s footer 22

HTML5 STRUCTURAL ELEMENTS Example: <body> <header> document headings go here </header> <nav> main navigation goes here </nav> <main> main content goes here </main> <footer> footer information goes here </footer> </body> 23

THE ANCHOR ELEMENT <A> The anchor element Inline display element Specifies a hyperlink reference (href) to a file Text between the <a> and </a> is displayed on the web page. <a href="contact.html">contact Us</a> href Attribute Indicates the file name or URL Web page document, photo, pdf, etc. 24

MORE ON HYPERLINKS Absolute link Link to other websites <a href="http://yahoo.com">yahoo</a> Relative link Link to pages on your own site Relative to the current page <a href="index.html">home</a> 25

OPENING A LINK IN A NEW BROWSER WINDOW The target attribute on the anchor element opens a link in a new browser window or new browser tab. <a href=http://yahoo.com target="_blank">yahoo!</a> DON T use for internal/relative links 26

EMAIL HYPERLINKS Automatically launch the default mail program configured for the browser If no browser default is configured, a dialog box is displayed <a href="mailto:me@hotmail.com">me@hotmail.com</a> 27

LINK USABILITY & ACCESSIBILITY Screen reader software for blind people can read just the links on a page. This is only useful if your hyperlink text is descriptive on it s own (Syllabus NOT click here) Email links might not work (depending on user s settings) so display the email address (john@gmail.com - NOT John or John s email) 28

SUMMARY This chapter provided an introduction to HTML. HTML elements used for inline and block display formatting were introduced. You will use these skills over and over again as you create web pages.