Reading & Exam Zeid: Chapter 9: XHTML Essential p. 241-298 Read before EXAM 1 Exam is Monday Oct. 25 th Review on Friday Oct. 22 nd.

Slides:



Advertisements
Similar presentations
HTML I. HTML Hypertext mark-up language. Uses tags to identify elements of a page so that a browser such as Internet explorer can render the page on a.
Advertisements

HTML Basics Customizing your site using the basics of HTML.
HyperText Markup Language (HTML). Introduction to HTML Hyper Text Markup Language HTML Example The structure of an HTML document Agenda.
Web Development & Design Foundations with XHTML
HTML: HyperText Markup Language Hello World Welcome to the world!
Hypertext markup language.  Client asks for an html file  Server returns the html file  Client parses and displays it  This display is what most people.
Chapter 2 HTML Basics Key Concepts
INTRODUCTION TO HYPERTEXT MARKUP LANGUAGE 1. Outline  Introduction  Markup Languages  Editing HTML  Common Tags  Headers  Text Styling  Linking.
How Tags are used to form your 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.
XHTML and CSS Overview. Hypertext Markup Language A set of markup tags and associated syntax rules Unlike a programming language, you cannot describe.
CIS101 Introduction to Computing Week 05. Agenda Your questions Exam next week - Excel Introduction to the Internet & HTML Online HTML Resources Using.
Introduction to HTML 2006 CIS101. What is the Internet? Global network of computers that are connected and communicate via a series of Protocols Protocols.
CM143 - Web Week 2 Basic HTML. Links and Image Tags.
Introduction to HTML 2006 INT197B. What is the Internet? Global network of computers that are connected and communicate via a series of Protocols Protocols.
XP 1 New Perspectives on Creating Web Pages with HTML Tutorial 1: Developing a Basic Web Page.
XHTML and CSS Overview. Hypertext Markup Language A set of markup tags and associated syntax rules Unlike a programming language, you cannot describe.
Introduction to HTML 2004 CIS101. What is the Internet? Global network of computers that are connected and communicate via a series of Protocols Protocols.
Developing a Basic Web Page with HTML
Glencoe Digital Communication Tools Create a Web Page with HTML Chapter Contents Lesson 4.1Lesson 4.1 Get Started with HTML (85) Lesson 4.2Lesson 4.2 Format.
Tutorial 3: Adding and Formatting Text. 2 Objectives Session 3.1 Type text into a page Copy text from a document and paste it into a page Check for spelling.
Web Design is a class created to nurture the minds of high school techies, and introduce those without prior knowledge to the field.
Chapter 2 Introduction to HTML5 Internet & World Wide Web How to Program, 5/e Copyright © Pearson, Inc All Rights Reserved.
Chapter 14 Introduction to HTML
CIS101 Introduction to Computing Week 06. Agenda Your questions Excel Exam during second hour Our status after the snow day Introduction to the Internet.
Tags through Forms. This element is required for all HTML pages It must be at the top of every page of every website We’ll see later on why it is important.
© 2005 ComputerPREP, Inc. All rights reserved. HTML 4.0 and Web Page Design Module I.
Introduction to HTML. What is a Web site? A collection of "pages" or files linked together and available on the World Wide Web What do you need to create.
Presenting Information on WWW using HTML. Presenting Information on the Web with HTML How Web sites are organized and implemented A brief introduction.
Chapter 4 Fluency with Information Technology L. Snyder Marking Up With HTML: A Hypertext Markup Language Primer.
Chapter 4: Hypertext Markup Language Primer TECH Prof. Jeff Cheng.
 HTML stands for Hyper Text Mark-up Language. The coding language used to create documents for the World Wide Web  HTML is composed of tags. HTML tags.
HTML history, Tags, Element. HTML: HyperText Markup Language Hello World Welcome to the world!
Website Development & Management Creating Web Pages CIT Fall Instructor: John Seydel, Ph.D.
Chapter 2 HTML Basics Key Concepts Copyright © 2013 Terry Ann Morris, Ed.D 1.
XHTML. Introduction to XHTML What Is XHTML? – XHTML stands for EXtensible HyperText Markup Language – XHTML is almost identical to HTML 4.01 – XHTML is.
Section 4.1 Format HTML tags Identify HTML guidelines Section 4.2 Organize Web site files and folder Use a text editor Use HTML tags and attributes Create.
HTML 4 Foundation Level Course HyperText Markup Language Most common language used in creating Web documents. You can use HTML to create cross-platform.
 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.
XP New Perspectives on The Internet, Sixth Edition— Comprehensive Tutorial 8 1 Creating Effective Web Pages Creating HTML Documents Tutorial 8.
What is Markup and Markup Languages? What is HTML? A Basic HTML Document Basic HTML Tags Tag Attributes and Text Formatting Tags Insert Hyperlinks Add.
Introduction to HTML 1 Basharat Mahmood, Department of Computer Science, CIIT, Islamabad, Pakistan.
A Basic Web Page. Chapter 2 Objectives HTML tags and elements Create a simple Web Page XHTML Line breaks and Paragraph divisions Basic HTML elements.
Just Enough HTML How to Create Basic HTML Documents.
Overview of HTML/XHTML Two Different Approaches  Text editor like Notepad  HTML editor such as: –KompoZer –DreamWeaver –Microsoft Expression Web –iWeb.
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.
Ali Alshowaish. What is HTML? HTML stands for Hyper Text Markup Language Specifically created to make World Wide Web pages Web authoring software language.
Introduction to HTML Xiangming Mu 9/23/ Learning Objectives Understand basic HTML tags and their attributes Learn to create a simple HTML page.
1 Web Application Programming Presented by: Mehwish Shafiq.
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.
2.1 XHTML. Motto High thoughts must have high language. –Aristophanes.
HTML Basics. HTML Coding HTML Hypertext markup language The code used to create web pages.
WEEK -1 ACM 262 ACM 262 Course Notes. HTML What is HTML? HTML is a language for describing web pages. HTML stands for Hyper Text Markup Language HTML.
Department of Computer Science, Florida State University CGS 3066: Web Programming and Design Spring
XP 2 HTML Tutorial 1: Developing a Basic Web Page.
XP 1 HTML Tutorial 1: Developing a Basic Web Page.
CompSci 1 Lecture 2 HTML Webpages. Today’s Topics Basic HTML The basis for web pages “Almost” programming Upcoming Programming Java Reading Great Ideas.
INT222 – Internet Fundamentals
Tutorial #1 Using HTML to Create Web Pages. HTML, XHTML, and CSS HTML – HyperText Markup Language The tags the browser uses to define the content of the.
Introduction to HTML Dave Edsall IAGenWeb County Coordinator’s Conference June 30, 2007.
Building a Web Page. A Brief History In 1989, Tim Berners-Lee invented the Web. To enable particle physics from around the world to organize and share.
Blended HTML and CSS Fundamentals 3 rd EDITION Tutorial 1 Using HTML to Create Web Pages.
HTML5 – Heading, Paragraph
Introduction to XHTML.
COMPUTING FUNDAMENTALS
Presentation transcript:

Reading & Exam Zeid: Chapter 9: XHTML Essential p Read before EXAM 1 Exam is Monday Oct. 25 th Review on Friday Oct. 22 nd

Agenda Three definitions of a web page Website vs. web page HTML vs. XHTML XHTML document structure Important HTML tags

Three definitions of a web page Document View. The easiest way to define a web page is to think of a web page as a single HTML document. For instance, in your public_html folder there may be two web pages index.html style.html

Three definitions of a web page Browser Display View The Document View does NOT necessarily define a web page Web pages can include images and data that are stored separately from the HTML document. Perhaps a better definition is to consider a web page to be all of the content that is visible in a web browser when a page is displayed.

Three definitions of a web page URL View The Browser Display View does NOT necessarily define a web page either Web pages can include meta tags and other information that is never displayed. Also, web browsers display content differently. Another definition of a web page: All of the content that is potentially available at a URL.

Three definitions of a web page A Fourth View (combination of the three) The URL view implies that a simple.gif or.jpg file would be considered a web page. That’s OK in general, but I won’t count that as a web page in this course. Fourth Definition: An HTML document that is available via a URL, including any content that can potentially be displayed when opening the URL in a Web Browser. If the URL changes consider it a different web page.

Website vs. web page Link Definition: A collection of web pages that are connected via hyperlinks One of my web pages links to RPI’s website. Does that mean that my website and RPI’s website are the same?

Website vs. web page Server Definition: A collection of web pages that are stored on the same web server. But, some websites ( have content that is stored on multiple serverswww.yahoo.com However, the URL is always the same

Website vs. web page URL Definition: A collection of web pages that are available via the same URL Domain. Example: But, my Bea Arthur Tribute has nothing to do with Computer Science and Siena College.

Website vs. web page Content Definition: A collection of inter-connected web pages devoted to a particular topic or concept, where each page is authored by a particular person or group of people. This definition is my favorite.

HTML vs. XHTML HTML stands for HyperText Markup Language The concept of hypertext was invented in HTML was invented by Tim Berners-Lee in HTML is a set of syntax (tags) for annotating documents on the WWW. Web browsers simply interpret the syntax. HTML is a subset of SGML (Standard Generalized Markup Language) SGML was a general syntax for annotating any kind of document (IBM 1960’s)

HTML vs. XHTML XML stands for Extensible Markup Language. XML is also a subset of SGML that is designed to be more useful. XML is basically a set of syntax for defining tags. Thus, you can use XML do define your own markup tags for any kind of document. XML is used extensively so that different systems can share data and documents.

HTML vs. XHTML To enhance HTML, The WorldWide Consortium ( modified HTML to conform to the XML standards. XHTML is simply HTML code that conforms to the XML standards. Page 247 describes how XHTML syntax is different than HTML syntax. Before we can learn about these differences we will learn about HTML.

HTML Document Structure Everything in here will be interpreted as an html document

HTML Document Structure Title, meta information, style sheet links, javascript code... Visible body of the web page.

XHTML Document Structure Title, meta information, style sheet links, javascript code... Visible body of the web page.

Tag Displayed in Title Bar <meta name=“description” content=“The best marmot website on earth!”

Tag The body tag has a lot of attributes How many attributes are there?

Tag Defines a paragraph Using CSS styles you can redefine the indent Here you can give a paragraph a text style. You can never redefine the blank line created by a new paragraph.

Tag Header 1  24pt Header 2  18pt Header 3  14pt CSS styles have made these obsolete

Other Text Formatting Tags Bold Italic Emphasis Same as on most browsers Bolder Same as on most browsers Smaller Font Font size depends on browser (8-10pt) May not be smaller if you’re already using 10pt font

Other Text Formatting Tags This is how DreamWeaver controls indenting However, its NOT like a tab diplayed withfixed-width font what is a fixed-width font anyway? displayed verbatim w/ fixed-width font counts white-space and new lines just like but does not create a blank line more robust than because you can specify alignment

Single Tags Line break Horizontal rule Can change color, size, width, shading, etc. Won’t properly display in DreamWeaver Image is inserted (native size) If you specify a different size the browser is responsible for re-scaling Many optional attributes

XHTML Requirement HTML allows single tags i.e., XML requires every tag to be closed with Start tag (Tag is opened) End tag (Tag is closed) Single tags must be closed. i.e., (Open and closed in one tag).

Special Characters &#code 2 to 4 digit code is used See tables on page 259 A picture is worth a thousand words. Some special characters have non-numeric codes i.e., &nbsp Many of these don’t work unless the browser has an extended character set plug-in installed.

Anchor Tag Actual Link Standard hyperlink to webpage Places an anchor in a document Hyperlink to the label Intra-document link Somewhat obsolete. Why?

Lists Ordered Lists (numbered) list item1 list item2 list item3 Unordered Lists (bulleted) Can be nested; Example