Chapter 1 Getting Started with HTML 5 1. Chapter 2 Introduction to New Elements in HTML 5 21

Similar documents
HTML and CSS COURSE SYLLABUS

Deccansoft Software Services

EDITOR GUIDE. Button Functions:...2 Inserting Text...4 Inserting Pictures...4 Inserting Tables...8 Inserting Styles...9

Varargs Training & Software Development Centre Private Limited, Module: HTML5, CSS3 & JavaScript

APPENDIX THE TOOLBAR. File Functions

Certified HTML5 Developer VS-1029

HTML TAG SUMMARY HTML REFERENCE 18 TAG/ATTRIBUTE DESCRIPTION PAGE REFERENCES TAG/ATTRIBUTE DESCRIPTION PAGE REFERENCES MOST TAGS

Best Practices for Using the Rich Text Editor

Best Practices for Using the Rich Text Editor

Page Layout Using Tables

The content editor has two view modes: simple mode and advanced mode. Change the view in the upper-right corner of the content editor.

GRAPHIC WEB DESIGNER PROGRAM

Text and Layout. Digital Multimedia, 2nd edition Nigel Chapman & Jenny Chapman Chapter 11. This presentation 2004, MacAvon Media Productions

Nauticom NetEditor: A How-to Guide

Layout Manager - Toolbar Reference Guide

CSS THE M\SS1NG MANUAL. David Sawyer McFarland. POGUE PRESS" O'REILLr Beijing Cambridge Farnham Köln Paris Sebastopol Taipei Tokyo

HTML5. HTML5 Introduction. Form Input Types. Semantic Elements. Form Attributes. Form Elements. Month Number Range Search Tel Url Time Week

Website Development with HTML5, CSS and Bootstrap

Bixby Public Schools Course Essential Elements Grade: Desktop Publishing

HTML Summary. All of the following are containers. Structure. Italics Bold. Line Break. Horizontal Rule. Non-break (hard) space.

Introduction to WEB PROGRAMMING

[AVWSQ-ADWCS6]: WSQ ICDL Adobe Dreamweaver CS6

COPYRIGHTED MATERIAL. Contents. Chapter 1: Creating Structured Documents 1

Designing for Web Using Markup Language and Style Sheets

Basics of Web Design, 3 rd Edition Instructor Materials Chapter 2 Test Bank

Country Communication Pages

Index LICENSED PRODUCT NOT FOR RESALE

Make a Website. A complex guide to building a website through continuing the fundamentals of HTML & CSS. Created by Michael Parekh 1

Html basics Course Outline

TinyMCE Users Guide. This user manual will show you all the basics of the TinyMCE editor.

1/6/ :28 AM Approved New Course (First Version) CS 50A Course Outline as of Fall 2014

Mobile Site Development

Web Content. Overview. Web Content Mini WYSIWYG Editor

DAY 4. Coding External Style Sheets

Discuss web browsers. Define HTML terms

Web Development IB PRECISION EXAMS

Certified HTML Designer VS-1027

CSS: The Basics CISC 282 September 20, 2014

Dreamweaver Basics. Planning your website Organize site structure Plan site design & navigation Gather your assets

WEBSITE PROJECT 2 PURPOSE: INSTRUCTIONS: REQUIREMENTS:

Dreamweaver Basics Outline

KillTest *KIJGT 3WCNKV[ $GVVGT 5GTXKEG Q&A NZZV ]]] QORRZKYZ IUS =K ULLKX LXKK [VJGZK YKX\OIK LUX UTK _KGX

Chapter 1 Introduction to Dreamweaver CS3 1. About Dreamweaver CS3 Interface...4. Creating New Webpages...10

Creating Web Pages with HTML-Level III Tutorials HTML 6.01

<style type="text/css"> <!-- body {font-family: Verdana, Arial, sans-serif} ***set font family for entire Web page***

Lesson 5 Introduction to Cascading Style Sheets

UI Course HTML: (Html, CSS, JavaScript, JQuery, Bootstrap, AngularJS) Introduction. The World Wide Web (WWW) and history of HTML

GIMP WEB 2.0 MENUS. Web 2.0 Menus: Horizontal Navigation Bar with Dynamic Background Image

ADOBE 9A Adobe Dreamweaver CS4 ACE.

Lava New Media s CMS. Documentation Page 1

Instructions for the Exam

FCKEditor v1.0 Basic Formatting Create Links Insert Tables


CSS MOCK TEST CSS MOCK TEST III

Independence Community College Independence, Kansas

Course Outline Advanced Web Design

Ministry of Higher Education and Scientific Research

The Text Editor appears in many locations throughout Blackboard Learn and is used to format text. For example, you can use it to:

Index. CSS directive, # (octothorpe), intrapage links, 26

HTML. Based mostly on

Interview Question & Answers

NEW WEBMASTER HTML & CSS FOR BEGINNERS COURSE SYNOPSIS

Web Development & Design Foundations with HTML5 & CSS3 Instructor Materials Chapter 2 Test Bank

Overview 14 Table Definitions and Style Definitions 16 Output Objects and Output Destinations 18 ODS References and Resources 20

Programmazione Web a.a. 2017/2018 HTML5

Web Site Development with HTML/JavaScrip

Create a new document based on default template, other available template like: memo, fax, agenda.

END USER DOCUMENTATION

Web Designing HTML5 NOTES

Zeppelin Website Content Manager User Manual

Appendix D CSS Properties and Values

Using the Text Editor Tutorial

INTRODUCTION TO HTML5! HTML5 Page Structure!

As we design and build out our HTML pages, there are some basics that we may follow for each page, site, and application.

1 of 7 11/12/2009 9:29 AM

Markup Language SGML: Standard Generalized Markup Language. HyperText Markup Language (HTML) extensible Markup Language (XML) TeX LaTeX

PRESENCE. RadEditor Guide. SchoolMessenger 100 Enterprise Way, Suite A-300 Scotts Valley, CA

Creating Web Pages with SeaMonkey Composer

Schoolwires Editor Best Practices. Schoolwires Centricity2

Web Design and Application Development

PBwiki Basics Website:

HTML, XHTML, and CSS 8/21/2011. Chapter Objectives. Chapter 4. Chapter Objectives. Chapter Objectives

recall: a Web page is a text document that contains additional formatting information in the HyperText Markup Language (HTML)

Introduction to the Internet and World Wide Web p. 1 The Evolution of the Internet p. 2 The Internet, Intranets, and Extranets p. 3 The Evolution of

Zen Garden. CSS Zen Garden

Course Outline Advanced Web Design

Final Exam Study Guide

Netscape Composer Tutorial

UNIT -II. Language-History and Versions Introduction JavaScript in Perspective-

1.7 Uniform Resource Identifiers and Domain Names 13 URIs and URLs 13 Domain Names 13

Kurdistan Regional Government Iraq Ministry of Higher Education and Scientific Research, Duhok Polytechnic University

Website Design (Weekday) By Alabian Solutions Ltd , 2016

A HTML document has two sections 1) HEAD section and 2) BODY section A HTML file is saved with.html or.htm extension

ICT IGCSE Practical Revision Presentation Web Authoring

Index. alt, 38, 57 class, 86, 88, 101, 107 href, 24, 51, 57 id, 86 88, 98 overview, 37. src, 37, 57. backend, WordPress, 146, 148

CSC 121 Computers and Scientific Thinking

Developing Web Applications

This document provides a concise, introductory lesson in HTML formatting.

Lab Introduction to Cascading Style Sheets

GIMP WEB 2.0 MENUS WEB 2.0 MENUS: HORIZONTAL NAVIGATION BAR CREATING AN HTML LIST

Transcription:

Table of Contents Chapter 1 Getting Started with HTML 5 1 Introduction to HTML 5... 2 New API... 2 New Structure... 3 New Markup Elements and Attributes... 3 New Form Elements and Attributes... 4 Geolocation... 4 Browser Support... 5 Web Storage... 5 Offline Application Caching... 6 Error Handling... 6 Defining HTML Markup... 6 Basic Structure of an HTML Document... 7 The <!DOCTYPE html> Element... 7 The <html> Element... 7 The <head> Element... 8 The <title> Element... 9 The <body> Element... 9 Creating and Saving an HTML Document... 10 Opening the HTML Document in a Web Browser... 12 Modifying the Background of an HTML Web Page... 12 Adding a Background Color to the Web Page... 12 Adding a Background Image to the Web Page... 15 Specifying Metadata about an HTML Web Page... 16 Adding Description of the Web Page... 17 Specifying Author of the Web Page... 18 Specifying Keywords for Search Engines... 19 Summary... 20 Chapter 2 Introduction to New Elements in HTML 5 21 The Markup Elements... 22 The Media Elements... 25 The Canvas Element... 25 The Form Elements... 27 The Input Type Attribute Values... 27 The New Attributes... 29 The New Event Attributes... 31 iii

HTML 5 in Simple Steps The Window Event Attributes... 31 The Form Events... 32 The Mouse Events... 33 The Media Events... 33 Summary... 34 Chapter 3 Working with Text 35 Adding Plain Text to an HTML Web Page... 36 Adding Text in a New Line... 37 Creating Headings on a Web Page... 38 Creating a Paragraph... 40 Creating a Horizontal Rule... 41 Creating a Subscript and Superscript... 43 Creating a Subscript... 43 Creating a Superscript... 44 Aligning the Text... 44 Formatting the Text... 46 Making the Text Bold... 46 Making the Text Italic... 47 Grouping the Text... 47 Grouping Text as Blocks... 47 Grouping Inline Text... 49 Indenting Quotations... 50 Working with Character Entities... 51 Commenting the Text... 53 Summary... 54 Chapter 4 Working with Lists, Tables, and Frames 55 iv Working with Lists... 56 Creating an Unordered List... 56 Creating an Ordered List... 57 Creating a Definition List... 58 Nested Lists... 60 Working with Tables... 61 Creating a Table... 61 Specifying a Caption to a Table... 62 Adding a Table Heading... 63 Setting the Table Border... 65 Aligning a Table and Cell Content... 66 Setting the Width of a Table and Table Columns... 69

Changing the Background Color of a Table... 72 Setting Cell Padding and Cell Spacing... 73 Spanning Rows and Columns... 75 Nesting Tables... 78 Working with Frames... 80 Creating a Frame... 80 Defining New Element-Specific Attributes... 81 Specifying Width and Height of a Frame... 84 Applying Hyperlink Targets to a Frame... 85 Summary... 88 Table of Contents Chapter 5 Working with Hyperlinks, Images, and Multimedia 89 Working with Hyperlinks... 90 Creating a Hyperlink... 90 Setting the Hyperlink Color... 92 Linking Different Sections of a Web Page... 93 Working with Images... 94 Inserting an Image on a Web Page... 95 Displaying Alternate Text for an Image... 95 Adding a Border to an Image... 96 Aligning an Image... 97 Using Images as Links... 98 Creating Image Maps... 100 Working with Multimedia... 102 Embedding Multimedia on a Web Page... 102 Creating a Link to a Multimedia File... 108 Using the <object> Tag to Insert Objects... 109 Summary... 110 Chapter 6 Working with Forms and Controls 111 Creating an HTML Form... 112 Specifying the Action URL and The Method to Send the Form... 113 Adding Controls to an HTML Form... 115 Using the <input> Tag to Add Controls... 115 Adding a Text Area... 140 Creating a Customizable Button... 141 Adding a Selection Control... 142 Understanding New Form Elements... 143 The datalist Element... 143 v

HTML 5 in Simple Steps The keygen Element... 145 The output Element... 146 Grouping the Controls of HTML Forms... 148 Specifying a Label for a Control... 149 Summary... 150 Chapter 7 Working with Cascading Style Sheets 151 Understanding Style Sheets... 152 Working with Styles... 152 External Style Sheets... 153 Embedded Style Sheets... 155 Inline Styles... 156 Style Classes... 157 Working with Background Properties... 159 Setting the Background Color... 160 Setting a Background Image... 160 Working with Text Properties... 162 Setting the Text Color... 162 Indenting Text... 163 Aligning Text... 164 Decorating Text... 165 Working with Font Properties... 166 Setting the Font Family... 167 Setting the Font Size... 168 Setting the Font Style... 169 Setting the Font Weight... 169 Working with List Properties... 170 Setting the Bullet Styles of Unordered Lists... 171 Setting an Image as List Item Marker... 172 Setting the Number Styles of Ordered Lists... 173 Working with HTML Element Box Properties... 175 Setting the Borders of an HTML Element Box... 176 Setting the Margins of an HTML Element Box... 177 Setting the Height of an HTML Element Box... 178 Setting the Width of an HTML Element Box... 180 Working with Positioning and Block Properties... 181 Positioning HTML Elements using Relative Positioning... 181 Positioning HTML Elements using Absolute Positioning... 182 Summary... 184 vi

Chapter 8 Working with JavaScript in HTML Documents 185 Adding a Script in an HTML Document... 186 Creating a Script in an HTML Document... 187 Using an External Script File... 188 Hiding the Script... 190 Working with Objects in JavaScript... 191 Using an Object in a Script... 193 Programming in JavaScript... 194 Working with Statements... 194 Commenting in JavaScript... 194 Working with Data Types and Variables in JavaScript... 195 Working with Fundamental Data Types... 196 Working with Variables... 197 Working with Operators... 201 Working with Control Flow Statements... 205 Working with Functions... 218 Working with Arrays... 221 Handling Events in JavaScript... 223 Working with Popup Boxes in JavaScript... 226 Handling Exceptions in JavaScript... 231 Working with Geolocation API... 236 Summary... 238 Table of Contents Chapter 9 Working with XHTML 239 Understanding the Basic Concepts of XHTML... 240 XHTML DTD... 240 Basic Structure of an XHTML Document... 241 Creating and Saving an XHTML Document... 242 Validating an XHTML Document... 243 Summary... 246 vii