Lesson 5. XHTML Tags, Attributes and Structure XHTML Basic Structure head and body titles Paragraph headings comments Document Presentation Manipulating.

Slides:



Advertisements
Similar presentations
Session 2 Introduction to HyperText Markup Language 4 (HTML 4) Matakuliah: M0114/Web Based Programming Tahun: 2005 Versi: 5.
Advertisements

HTML popo.
Chapter 2 HTML Basics Key Concepts
Creating Pages in XHTML
INTRODUCTION TO HYPERTEXT MARKUP LANGUAGE 1. Outline  Introduction  Markup Languages  Editing HTML  Common Tags  Headers  Text Styling  Linking.
1. Content – Collective term for all text, images, videos, etc. that you want to deliver to your audience. 2. Structure – How the content is placed on.
How Tags are used to form your Web Page
Copyright © 2004 ProsoftTraining, All Rights Reserved. Lesson 3: XHTML Coding © 2007 Prosoft Learning Corporation All rights reserved ITD 110 Web Page.
 2008 Pearson Education, Inc. All rights reserved. 1 Introduction to HTML.
 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.
HTML: PART ONE. Creating an HTML Document  It is a good idea to plan out a web page before you start coding  Draw a planning sketch or create a sample.
ULI101: XHTML Basics (Part III) Introduction to XHTML / Continued … Block-Level vs. Inline Elements (tags) Manipulating Text,  , Text Characteristics,,,,,,,,,,,,,,,
Web page - A Web page is a simple text file that contains HTML tags (code) that describe what should be displayed on the browser. -The Web browser interprets.
 2008 Pearson Education, Inc. All rights reserved Introduction to XHTML.
Define html document byusing Example : Title of the document The content of the document......
Chapter 4: Hypertext Markup Language Primer TECH Prof. Jeff Cheng.
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.
ITEC 745 Instructional Web Authoring I Instructor: Ray Cole Week 8.
Chapter 2 HTML Basics Key Concepts Copyright © 2013 Terry Ann Morris, Ed.D 1.
1 CSC 121 Computers and Scientific Thinking David Reed Creighton University HTML and Web Pages.
XP Mohammad Moizuddin Creating Web Pages with HTML Tutorial 1 1 New Perspectives on Creating Web Pages With HTML Tutorial 1: Developing a Basic Web Page.
1 Introduction to HTML: Part 1 Outline Introduction Elements and Attributes Editing HTML Common Elements Headers Images Unordered Lists Nested and Ordered.
HTML (continued). Assignment 3 Creating a web page with:  Images  Hyperlinks to some websites  Hyperlinks to your  Information about a company,
Explorers Guild April 27, What is HTML? Hypertext Markup Language (HTML) is the basic building block of the World Wide Web page. HTML files are.
XP 1 HTML Committed to Shaping the Next Generation of IT Experts. 01: Introduction to HTML.
INTRODUCTION. What is HTML? HTML is a language for describing web pages. HTML stands for Hyper Text Markup Language HTML is not a programming language,
XP 2 HTML Tutorial 1: Developing a Basic Web Page.
INTRODUCTORY Tutorial 1 Using HTML Tags to Create Web Pages.
HTML: Hyptertext Markup Language Doman’s Sections.
Agenda Block-Level vs. Inline Elements (tags) Manipulating Text,  , Text Characteristics,,,,,,,,,,,,,,, Font Attributes: size, color, face Horizontal.
Chapter 2 Web Page Design Mr. Gironda. Elements of a Web Page These are things that most web pages use.
HTML— More Tags, Formatting, and Lists. Formatting Tags  Bold  Italics  Underline  Big text  Small text  Subscript (H 2 O)  Superscript (10 3 )
1 Web Application Programming Presented by: Mehwish Shafiq.
HTML Tags Lesson 2. What are HTML Tags?  Markup tags  Coded instructions that accompany the plain text of an HTML document  Syntax –Left wicket< –Tag.
HTML Basics Computers. What is an HTML file? *HTML is a format that tells a computer how to display a web page. The documents themselves are plain text.
Introducing HTML 5 Creating Web Pages with HTML 5 1.
Web Development Lecture # 09 Text Formatting in HTML.
Formatting Text with HTML. Objectives: Students will be able to: Define the structure of the document with block elements Format numbered, bulleted, and.
XP 2 HTML Tutorial 1: Developing a Basic Web Page.
HTML. INDEX Introduction to HTML Creating Web Pages Commands And Tags Web Page.
NOTEPAD++ Lab 1 1 Riham ALSmari. Why Notepad++ ?  Syntax highlighting  Tabbed document interface  Zooming  Indentation code  Find and replace over.
HTML Introduction. Lecture 7 What we will cover…  Understanding the first html code…  Tags o two-sided tags o one-sided tags  Block level elements.
Q.Nand1 HTML Creating an HTML Document Lesson 2. Q.Nand2 Overview Creating an HTML Document: –HTML syntax –Creating Basic Tags –Displaying Your HTML Files.
Blended HTML and CSS Fundamentals 3 rd EDITION Tutorial 1 Using HTML to Create Web Pages.
HTML Basics.
LAB Work 01 MBA 61062: E-Commerce
Marking Up with XHTML Tags describe how a web page should look
HTML Programming Basic HTML text formatting.
Elements of HTML Web Design – Sec 3-2
HTML Formatting.
Text Elements.
Chapter 1: Introduction to XHTML (part 1)
Chapter 4 - Introduction to XHTML: Part 1
Tag Basics.
Text Elements.
Computers and Scientific Thinking David Reed, Creighton University
Marking Up with XHTML Tags describe how a web page should look
Marking Up with XHTML Tags describe how a web page should look
Text Elements.
Introduction to XHTML Cont:.
Introduction to HTML.
Marking Up with XHTML Tags describe how a web page should look
Text Elements.
Marking Up with XHTML Tags describe how a web page should look
Basics of Web Design Chapter 2 HTML Basics Key Concepts
Lesson 2: HTML5 Coding.
Basics of Web Design Chapter 2 HTML Basics Key Concepts
Getting Started with Marking Up Page Content
Text Elements.
Marking Up with XHTML Tags describe how a web page should look
Presentation transcript:

Lesson 5

XHTML Tags, Attributes and Structure XHTML Basic Structure head and body titles Paragraph headings comments Document Presentation Manipulating Text Font Font Style Images Horizontal Rule Lists Unordered Lists Ordered Lists

Tags The tag identifies a document as an HTML document. All HTML documents must start with the tag and end with the tag. An xmlns - XML namespace - is also included as part of the html tag. The namespace declaration is considered to apply to the element where it is specified and to all elements within the content of that element. Using will apply the XHTML namespace to all elements within the HTML document.

Text Formatting Note that in HTML we have: Logical Tags Physical Tags Alignment and misc. tags Logical Tags are used to format text without specifying the exact appearance of the text. The exact appearance of the text is left to the browsers to define. Examples are the emphasis strong tags. Physical Tags specify the exact appearance of text. The challenge here is to know which browsers support which tags vs. the desire by web designers to have more control on text formatting. Alignment and misc tags are specifically used to give the desired alignment and to display special characters or text.

Text effects preferred to Why? some people listen to web pages or read them in braille, while others use a browser that can not display bold or italic. Note: –Don’t use since it looks like a hyperlink

HTML has the instructions (tags, speciali characters, etc) and tries to make web pages complaint with current and older Browsers XHTML Uses stylesheets but older browsers don't understand stylesheets

Other special characters include the: subscript superscript &frac14 Here text is bold! Here text is underlined Here text is italicized. Here text is bold! Here text is underlined Here text is italicized Five is < 15 And 18 is > 8 All ©IBM software is good And this is the &amp sign 5 is < 15 And 18 is > 8 All ©IBM software is good and this is the & sign

Changing fonts: write text here Font is a deprecated tag.  Stylesheets Font Style  Stylesheets Need to remove Document Presentation from Document Structure

Unordered Lists –Are lists without any order and are rendered with a line break and a bullet symbol For solid bullets use For hollow bullets use For hollow squares use

Ordered and Nested Lists Ordered Lists Nested Lists To use Arabic numerals To use Capital letters To use lowercase letters To use Capital Roman numerals To use lowercase Roman numerals

Review True/False Every XHTML document contains a start tag and an end True Web browsers typically underline text hyperlinks and color them grey by default False The color is blue

Review True/False Every img element in a valid XHTML document must have an alt attribute True The img element is an example of an empty element True

Review True/False The hr element inserts a line break above and below the horizontal line True Unordered list element ul creates a list in which each item in the list begins with a square symbol False A bullet symbol unless otherwise specified

Review True/False XHTML provides special characters in the form &code; for representing characters that cannot be marked up. True The works almost identical to the except the whole paragraph will be indented one tab - 3 spaces. False 5 spaces