WWW/HTML Basics CS 4173.

Slides:



Advertisements
Similar presentations
LIS650lecture 1 XHTML 1.0 strict Thomas Krichel
Advertisements

XHTML Week Two Web Design. 2 What is XHTML? XHTML is the current standard for HTML Newest generation of HTML (post-HTML 4) but has many new features which.
Web Development & Design Foundations with XHTML
Dr. Alexandra I. Cristea XHTML.
XHTML Basics.
Pengantar Teknologi Mobile 13 Antonius Rachmat C, S.Kom, M.Cs XHTML.
History Leading to XHTML
XHTML 16-Apr-17.
XHTML and CSS Overview. Hypertext Markup Language A set of markup tags and associated syntax rules Unlike a programming language, you cannot describe.
17-Jun-15 XHTML 2 What is XHTML? XHTML stands for Extensible Hypertext Markup Language XHTML is aimed to replace 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.
Introducing HTML & XHTML:. Goals  Understand hyperlinking  Understand how tags are formed and used.  Understand HTML as a markup language  Understand.
Basics of HTML Shashanka Rao. Learning Objectives 1. HTML Overview 2. Head, Body, Title and Meta Elements 3.Heading, Paragraph Elements and Special Characters.
Creating a Simple Page: HTML Overview
Creating a Basic Web Page
ULI101 – XHTML Basics (Part II) What is Markup Language? XHTML vs. HTML General XHTML Rules Block Level XHTML Tags XHTML Validation.
1 WWW/HTML Basics CS What is the WWW? Perspective for this lecture A distributed document delivery system Uses a client-server model Main presentation.
HTML history, Tags, Element. HTML: HyperText Markup Language Hello World Welcome to the world!
CS134 Web Design & Development Creating a Basic Web Page Mehmud Abliz.
Chapter 1 XHTML: Part I The Web Warrior Guide to Web Design Technologies.
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.
CS134 Web Design & Development Creating a Basic Web Page Exerted from Mehmud Abliz slides.
Learning Web Design: Chapter 4. HTML  Hypertext Markup Language (HTML)  Uses tags to tell the browser the start and end of a certain kind of formatting.
3 XHTML.
1 XHTML محمد احمدی نیا 2 Of 19 HTML vs XHTML  XHTML is a stricter and cleaner version of HTML.  by combining the strengths of HTML.
1 Web Developer Foundations: Using XHTML Chapter 2 Key Concepts.
XHTML. Introduction to XHTML What Is XHTML? – XHTML stands for EXtensible HyperText Markup Language – XHTML is almost identical to HTML 4.01 – XHTML is.
XHTML 1.1  Derived from Standard Generalized Markup Language (SGML) of ISO  XHTML concerned primary with content rather than presentation and style 
Web Development & Design Foundations with XHTML Chapter 2 HTML/XHTML Basics.
1 Web Application Programming Presented by: Mehwish Shafiq.
Lecture: Web Design Assis. Prof. Freshta Hanif Ehsan Faculty of Computer Science Kabul Polytechnic University Spring Semester
Copyright © Terry Felke-Morris WEB DEVELOPMENT & DESIGN FOUNDATIONS WITH HTML5 Chapter 2 Key Concepts 1 Copyright © Terry Felke-Morris.
Copyright © 2003 Pearson Education, Inc. Slide 1-1 Created by Cheryl M. Hughes The Web Wizard’s Guide to XHTML by Cheryl M. Hughes.
Introduction to Web & HTML
Copyright © 2004 ProsoftTraining, All Rights Reserved. Lesson 2: Markup Language and Site Development Essentials © 2007 Prosoft Learning Corporation All.
Unit 3 — Advanced Internet Technologies Lesson 10 — Introduction to XHTML.
CIS 228 The Internet 9/20/11 XHTML 1.0. “Quirks” Mode Today, all browsers support standards Compliant pages are displayed similarly There are multiple.
INT222 – Internet Fundamentals
Blended HTML and CSS Fundamentals 3 rd EDITION Tutorial 1 Using HTML to Create Web Pages.
What is XHTML? XHTML stands for Extensible Hypertext Markup Language
HTML CS 4640 Programming Languages for Web Applications
CS3220 Web and Internet Programming HTML and XML Basics
Creating a Web Page CSC 121.
Web Development & Design Foundations with HTML5 8th Edition
Elements of HTML Web Design – Sec 3-2
HTML5 – Heading, Paragraph
Coding, Testing and Valdating a Web Page
3.00cs HTML Overview 3.00cs Develop webpages.
What is XHTML?.
Introduction to XHTML.
Elements of HTML Web Design – Sec 3-2
XHTML
HTML A brief introduction HTML.
3.02D HTML Overview 3.02 Develop webpages.
Introduction to HTML- Basics
Document Structure & HTML
CS3220 Web and Internet Programming HTML and XML Basics
Creating a Basic Web Page
WWW/HTML Basics.
XHTML 7-May-19.
3.02D HTML Overview 3.02 Develop webpages.
Lesson 2: HTML5 Coding.
4.02A HTML Overview 4.02 Develop web pages using various layouts and technologies. (Note to instructor: HTML tags are in red only to differentiate from.
XHTML 29-May-19.
محمد احمدی نیا XHTML محمد احمدی نیا
HTML CS 4640 Programming Languages for Web Applications
Web Design & Development
Presentation transcript:

WWW/HTML Basics CS 4173

What is the WWW? A distributed document delivery system Uses a client-server model Main presentation language is HTML

Client-Server Model Two processes (possibly networked): The client Sends requests to the server Blocks until reply is received The server Processes requests from clients Never blocks Can reply to several clients simultaneously

HTML Hypertext Markup Language Intended to be maximally portable Logical markup Graceful degradation of presentation An ideal promoted by early WWW Used to be more honoured in the breach Is it getting better now?

Markup Languages Markup: Markup language: Embedded codes in documents Codes are called `tags’ Codes Describe the structure documents Include instructions for processing Markup language: Computer language for describing syntax of tags May be used with other tools to specify rendering

Logical Markup Logical markup: Example: Describes parts of document Does not specify how to render Example: This is <strong>very</strong> important This is very important

Logical Markup Presentation is client’s `decision’ When client cannot present then there is graceful degradation <img alt=“image description” src=“foo.gif”> Object example from Cougar

Some history Gopher & the Internet Superhighway SGML HTML GML + Charles Goldfarb = SGML eXtensible Markup Language HTML XML and XHTML

Why HTML became XHTML HTML was originally a SGML application Tags described the syntax A DTD could check the syntax Informal mapping from syntax to rendering Multiple incompatible versions arose IETF moves at ’net speed not web $peed Tag abuse was rampant in the ’net They were a plague unto the users

Why HTML became XHTML (2) If you think IMG is bad … Big vendors (M$ and N$ mostly) agreed To start over To use eXtensible Markup Language A re-write of SGML emphasizing simplicity Carefully planned by CS savvy folks Includes hooks for future development

XHTML Basics Very few real changes from HTML But more strict All tags are in lowercase All tags must be closed Empty tags Paired tags

XHTML Basics 3 Parts to an XHTML or HTML document DOCTYPE Head Body What DTD are you using Head Meta information Only <title> is required Body Text to render

XHTML Document Structure

XHTML Basics Tags Entities Comments Elements Attributes <,>,&,‘ ’ Ö,ð,÷,©, etc. See example at CS4173 website Comments ‘ ’s is   (the non-breaking space)

XHTML Tags vs. Elements Tag is markup to represent an element Logical vs. Presentation Elements TT  CODE, KBD, PRE? B/IT/U  EM/STRONG Lists UL/OL DL

XHTML Tags vs. Elements Block-level and in-line elements TABLE, P, BLOCKQUOTE, DIV, etc. CODE, Q, H1, SPAN, etc. Grouping Elements DIV SPAN One-part elements BR, etc.

XHTML Tags vs. Elements Browser-specific tags MARQUEE, BLINK, etc. What happens when a browser doesn't recognize a tag?

XHTML Basics Tags may be nested but Tags may not overlap

Overlap versus Nesting

Links — Why The WWW Is HT ‘A’ element URIs and URLs RFCs HREF NAME CLASS REL TYPE URIs and URLs RFCs TITLE ID STYLE Anchor Text TABINDEX

Where are the tools? HTML Tidy The validator /opt/bin/tidy on borg http://validator.w3.org/ http://www.cs.dal.ca/validator? http://www.cs.dal.ca/validate? http://www.cs.dal.ca:81?

XHTML/HTML Examples XHTML element sampler XHTML sample template Both in the examples section of the website

For More About HTML RFC 1866 (HTML 2.0) (at faqs.org) Explains some of the philosophy behind HTML HTML 4.01 (at W3C) Last version of HTML XHTML 1.1 (at W3C) Modularized XHTML So many choices!…

Which Standard to Follow? Minimal standard for this course is HTML 4.01 Transitional Preferred standard is XHTML 1.0 or 1.1 See Picking a Rendering Mode By Eric Meyer In the Readings part of the Resources

Here endeth the lesson