Copyright © Terry Felke-Morris WEB DEVELOPMENT & DESIGN FOUNDATIONS WITH HTML5 Chapter 2 Key Concepts 1 Copyright © Terry Felke-Morris.

Slides:



Advertisements
Similar presentations
Web Development & Design Foundations with HTML5
Advertisements

Web Development & Design Foundations with XHTML
HTML: HyperText Markup Language Hello World Welcome to the world!
Website Design.
Chapter 2 HTML Basics Key Concepts
INTRODUCTION TO HYPERTEXT MARKUP LANGUAGE 1. Outline  Introduction  Markup Languages  Editing HTML  Common Tags  Headers  Text Styling  Linking.
XHTML Basics Web pages used to be written exclusively in html
XHTML Basics.
1 eVenzia Technologies Learning HTML, XHTML & CSS Chapter 1.
Copyright © 2004 ProsoftTraining, All Rights Reserved. Lesson 3: XHTML Coding © 2007 Prosoft Learning Corporation All rights reserved ITD 110 Web Page.
HTML Hypertext Markup Language –First proposed by CERN in 1989 –It is non-linear so it allows you to jump from place to place –Markup refers to the structure.
HTML Computing Concepts HTML - An Introduction 1.
 2003 Prentice Hall, Inc. All rights reserved. Chapter 4 - Introduction to XHTML: Part 1 Outline 4.1 Introduction 4.2 Editing XHTML 4.3 First XHTML Example.
 2004 Prentice Hall, Inc. All rights reserved. Introduction to XHTML: Part 1.
 2003 Prentice Hall, Inc. All rights reserved. Chapter 4 - Introduction to XHTML: Part 1 Outline 4.1 Introduction 4.2 Editing XHTML 4.3 First XHTML Example.
Chapter 2 Introduction to HTML5 Internet & World Wide Web How to Program, 5/e Copyright © Pearson, Inc All Rights Reserved.
HTML Notes Chapters 1--6 Codes used in creating HTML documents are called tags. Tags are always enclosed in left ( ) angle brackets. Tags can be upper.
Basics of HTML Shashanka Rao. Learning Objectives 1. HTML Overview 2. Head, Body, Title and Meta Elements 3.Heading, Paragraph Elements and Special Characters.
 2008 Pearson Education, Inc. All rights reserved Introduction to XHTML.
HTML (HyperText Markup Language)
HTML Lecture 2.
HTML Structure & syntax
ACM 511 HTML Week -1 ACM 511 Course Notes. Books ACM 511 Course Notes.
HTML history, Tags, Element. HTML: HyperText Markup Language Hello World Welcome to the world!
Chapter 1 XHTML: Part I The Web Warrior Guide to Web Design Technologies.
 2002 Prentice Hall, Inc. All rights reserved.2 Chapter 2 — Introduction to HyperText Markup Language 4: Part I Outline 2.1Introduction 2.2Markup Languages.
Copyright © Terry Felke-Morris WEB DEVELOPMENT & DESIGN FOUNDATIONS WITH HTML5 7 TH EDITION Chapter 2 Key Concepts 1 Copyright © Terry Felke-Morris.
Using Html Basics, Text and Links. Objectives  Develop a web page using HTML codes according to specifications and verify that it works prior to submitting.
1 HTML intro The development of HTMLThe development of HTML The transition from HTML to XHTMLThe transition from HTML to XHTML XHTML syntax, tags, and.
1.  Describe the anatomy of a web page  Format the body of a web page with block-level elements including headings, paragraphs, lists, and blockquotes.
Chapter 2 HTML Basics Key Concepts Copyright © 2013 Terry Ann Morris, Ed.D 1.
1 Web Developer Foundations: Using XHTML Chapter 2 Key Concepts.
>> Introduction to HTML: Tags. Hyper - is the opposite of linear Text – words / sentences / paragraphs Mark-up – Marking the text Language – It is a language.
 2008 Pearson Education, Inc. All rights reserved Introduction to XHTML.
Course Content - Chapter 2 Introduction to HTML Introduction to a Text Editor as a web authoring tool Instructional Activity: Creating a webpage using.
1.  Use the anchor element to link from page to page  Configure absolute, relative, and hyperlinks  Configure relative hyperlinks to web pages.
INTRODUCTORY Tutorial 1 Using HTML Tags to Create Web Pages.
HTML Structure & syntax. Introduction This presentation introduces the following: Doctype declaration HTML Tags, Elements and Attributes Sections of a.
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. Creating XHTML Documents Essentials for.
Introduction to HTML Xiangming Mu 9/23/ Learning Objectives Understand basic HTML tags and their attributes Learn to create a simple HTML page.
Web Development & Design Foundations with XHTML Chapter 2 HTML/XHTML Basics.
1 Introduction to XHTML: Part 1 Outline Introduction Elements and Attributes Editing XHTML Common Elements W3C XHTML Validation Service Headers Linking.
©SoftMoore ConsultingSlide 1 Introduction to HTML: Basic Document Structure.
HTML Basics. HTML Coding HTML Hypertext markup language The code used to create web pages.
Objective: To describe the evolution of the Internet and the Web. Explain the need for web standards. Describe universal design. Identify benefits of accessible.
Copyright © Terry Felke-Morris WEB DEVELOPMENT & DESIGN FOUNDATIONS WITH HTML5 Chapter 2- part 2 Key Concepts 1 Copyright © Terry Felke-Morris.
What is HTML? HTML is a language for describing web pages. HTML stands for Hyper Text Markup Language HTML is not a programming language, it is a markup.
Department of Computer Science, Florida State University CGS 3066: Web Programming and Design Spring
Department of Computer Science, Florida State University CGS 3066: Web Programming and Design Spring
INT222 – Internet Fundamentals
Copyright © Terry Felke-Morris WEB DEVELOPMENT & DESIGN FOUNDATIONS WITH HTML5 7 TH EDITION Chapter 2 Key Concepts 1 Copyright © Terry Felke-Morris.
HTML And the Internet. HTML and the Internet ► HTML: HyperText Markup Language  Language in which all pages on the web are written  Not Really a Programming.
NOTEPAD++ Lab 1 1 Riham ALSmari. Why Notepad++ ?  Syntax highlighting  Tabbed document interface  Zooming  Indentation code  Find and replace over.
Blended HTML and CSS Fundamentals 3 rd EDITION Tutorial 1 Using HTML to Create Web Pages.
HTML Structure & syntax
HTML Basics.
Web Development & Design Foundations with HTML5 8th Edition
Web Development & Design Foundations with HTML5 8th Edition
Web Development & Design Foundations with HTML5 8th Edition
HTML: HyperText Markup Language
Web Development & Design Foundations with HTML5 7th Edition
HTML5 – Heading, Paragraph
Coding, Testing and Valdating a Web Page
Web Development & Design Foundations with HTML5 8th Edition
Chapter 4 - Introduction to XHTML: Part 1
Introduction to HTML- Basics
Basics of Web Design Chapter 2 HTML Basics Key Concepts
Lesson 2: HTML5 Coding.
Basics of Web Design Chapter 2 HTML Basics Key Concepts
Presentation transcript:

Copyright © Terry Felke-Morris WEB DEVELOPMENT & DESIGN FOUNDATIONS WITH HTML5 Chapter 2 Key Concepts 1 Copyright © Terry Felke-Morris

LEARNING OUTCOMES In this chapter, you will learn how to...  Describe HTML, XHTML, and HTML5  Identify the markup language in a web page document  Use the html, head, body, title, and meta elements to code a template for a web page  Configure the body of a web page with headings, paragraphs, line breaks, divs, lists, and blockquotes  Configure text with phrase elements  Configure special characters  Use the anchor element to link from page to page  Create absolute, relative, and hyperlinks  Code, save, and display a web page document  Test a web page document for valid syntax 2

Copyright © Terry Felke-Morris WHAT IS HTML?  HTML: The set of markup symbols or codes placed in a file intended for display on a Web browser page.  The World Wide Web Consortium ( sets the standards for HTML and its related languages. 3

Copyright © Terry Felke-Morris HTML ELEMENTS Each markup code represents an HTML element. Each element has a purpose. Most elements are coded as a pair of tags: an opening tag and a closing tag. Tags are enclosed in angle brackets, " " symbols. 4

Copyright © Terry Felke-Morris WHAT IS XHTML?  The most recent standard version of HTML  eXtensible HyperText Markup Language.  XHTML uses:  the elements and attributes of HTML  the syntax of XML (eXtensible Markup Language). 5

Copyright © Terry Felke-Morris XML SYNTAX  An XML document must be well-formed.  Use lowercase  Use opening and closing tags  Close stand-alone tag with special syntax 6

Copyright © Terry Felke-Morris WHAT IS HTML5 ?  Newest draft version of HTML/XHTML  Supported by modern browsers  Safari, Google Chrome, Firefox, Internet Explorer 9  Intended to be backwards compatible  Adds new elements  Adds new functionality  Edit form data  Native video and audio  And more! 7

Copyright © Terry Felke-Morris DOCUMENT TYPE DEFINITION  Document Type Definition (DTD)  doctype statement  identifies the version of HTML contained in your document.  placed at the top of a web page document 8

Copyright © Terry Felke-Morris DTD EXAMPLES XHTML 1.0 Transitional DTD <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" HTML5 DTD 9

Copyright © Terry Felke-Morris EXAMPLE XHTML WEB PAGE <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" " Page Title Goes Here... body text and more XHTML tags go here... 10

Copyright © Terry Felke-Morris EXAMPLE HTML5 WEB PAGE Page Title Goes Here... body text and more HTML5 tags go here... 11

Copyright © Terry Felke-Morris HEAD & BODY SECTIONS  Head Section Contains information that describes the Web page document …head section info goes here  Body Section Contains text and elements that display in the Web page document …body section info goes here 12

Copyright © Terry Felke-Morris TITLE ELEMENT META ELEMENT 13

Copyright © Terry Felke-Morris THE HEADING ELEMENT Heading Level 1 Heading Level 2 Heading Level 3 Heading Level 4 Heading Level 5 Heading Level 6 14

Copyright © Terry Felke-Morris PARAGRAPH ELEMENT  Paragraph element …paragraph goes here…  Groups sentences and sections of text together.  Configures a blank line above and below the paragraph 15

Copyright © Terry Felke-Morris LINE BREAK ELEMENT  Line Break element  Stand-alone, or void tag  XHTML syntax:  HTML syntax: …text goes here This starts on a new line….  Causes the next element or text to display on a new line 16

Copyright © Terry Felke-Morris BLOCKQUOTE ELEMENT  Blockquote element  Indents a block of text for special emphasis …text goes here… 17

Copyright © Terry Felke-Morris Indicate the context and meaning of the text PHRASE ELEMENTS ElementExampleUsage bold text Text that has no extra importance but is styled in bold font by usage and convention emphasized text Causes text to be emphasized in relation to other text; usually displayed in italics italicized text Text that has no extra importance but is styled in italics by usage and convention mark text Text that is highlighted in order to be easily referenced (HTML5 only) small text Legal disclaimers and notices (“fine print”) displayed in small font-size strong text Strong importance; causes text to stand out from surrounding text; usually displayed in bold sub text Displays a subscript as small text below the baseline sup text Displays a superscript as small text above the baseline 18

Copyright © Terry Felke-Morris HTML LISTS  Unordered List  Ordered List  Description List formerly called a definition list 19

Copyright © Terry Felke-Morris UNORDERED LIST  Displays a bullet, or list marker, before each entry in the list.  Contains the unordered list  type attribute determines the type of bullet point  default type is disc (but depends on the browser)  Contains an item in the list 20

Copyright © Terry Felke-Morris UNORDERED LIST EXAMPLE TCP IP HTTP FTP 21

Copyright © Terry Felke-Morris ORDERED LIST  Displays a numbering or lettering system to itemize the information contained in the list  Contains the ordered list  type attribute determines numbering scheme of list, default is numerals  Contains an item in the list 22

Copyright © Terry Felke-Morris ORDERED LIST EXAMPLE Apply to school Register for course Pay tuition Attend course 23

Copyright © Terry Felke-Morris DESCRIPTION LIST Useful to display a list of terms and descriptions or a list of FAQ and answers ◦ Contains the description list ◦ Contains a term/phrase/sentence Configures empty space above and below the text ◦ Contains a description of the term/phrase/sentence ◦ Indents the text ◦ Configures empty space above and below the text 24

Copyright © Terry Felke-Morris DESCRIPTION LIST EXAMPLE IP Internet Protocol TCP Transmission Control Protocol 25

Copyright © Terry Felke-Morris CHECKPOINT 1. Describe the features of a heading element and how it configures the text. 2. Describe the difference between ordered lists and unordered lists. 3. Describe the purpose of the blockquote tag. 26

Copyright © Terry Felke-Morris Display special characters such as quotes, copyright symbol, etc. Character Code © © < < > > & & SPECIAL CHARACTERS 27

Copyright © Terry Felke-Morris DIV ELEMENT  Configures a structural block area or “division” on a web page with empty space above and below.  Can contain other block display elements, including other div elements Home Services Contact 28

Copyright © Terry Felke-Morris ANCHOR ELEMENT  Specifies a hyperlink reference (href) to a file  Text between the and is displayed on the web page. Contact Us  href Attribute  Indicates the file name or URL 29

Copyright © Terry Felke-Morris ABSOLUTE & RELATIVE HYPERLINKS  Absolute link  Link to other websites Yahoo  Relative link  Link to pages on your own site Home 30

Copyright © Terry Felke-Morris HYPERLINK  Automatically launch the default mail program configured for the browser  If no browser default is configured, a message is displayed 31

HYPERLINKS 32  Hands-On Practice

Copyright © Terry Felke-Morris CHECKPOINT 1. Describe the purpose of special characters. 2. Describe when to use an absolute link. Is the http protocol used in the href value? 3. Describe when to use a relative link. Is the http protocol used in the href value? 33

Copyright © Terry Felke-Morris WRITING VALID XHTML  Check your code for syntax errors  Benefit:  Valid code  more consistent browser display  W3C XHTML Validation Tool 

Copyright © Terry Felke-Morris SUMMARY  This chapter provided an introduction to HTML.  You will use these skills over and over again as you create web pages. 35