XHTML 1 by Carsomyr.

Slides:



Advertisements
Similar presentations
Getting a Taste of Cascading Stylesheets Steve Mooradian December 14, 2005.
Advertisements

 To publish information for global distribution, one needs a universally understood language, a kind of publishing mother tongue that all computers may.
CM143 - Web Week 2 Basic HTML. Links and Image Tags.
F DIGITAL MEDIA: COMMUNICATION AND DESIGN INTRODUCTION TO XML AND XHTML.
CIS101 Introduction to Computing Week 06. Agenda Your questions Excel Exam during second hour Our status after the snow day Introduction to the Internet.
HTML history, Tags, Element. HTML: HyperText Markup Language Hello World Welcome to the world!
All Web pages are written with some form of HTML (HyperText Markup Language). HTML documents are saved as Text Only files so virtually any computer can.
HTML. WHAT IS HTML HTML stands for Hyper Text Markup Language HTML is not a programming language, it is a markup language A markup language is a set of.
CIS 1310 – HTML & CSS 1 Introduction to the Internet.
Introduction to HTML Tutorial 1 eXtensible Markup Language (XML)
HTML Structure & syntax. Introduction This presentation introduces the following: Doctype declaration HTML Tags, Elements and Attributes Sections of a.
XHTML By Trevor Adams. Topics Covered XHTML eXtensible HyperText Mark-up Language The beginning – HTML Web Standards Concept and syntax Elements (tags)
Web Design (1) Terminology. Coding ‘languages’ (1) HTML - Hypertext Markup Language - describes the content of a web page CSS - Cascading Style Sheets.
UPLOAD / DOWNLOAD april  HTML5 is just the next iteration of HTML  Previous version was technically HTML 4.01, which incorporated XHTML 1.0.
IS-907 Java EE World Wide Web - Overview. World Wide Web - History Tim Berners-Lee, CERN, 1990 Enable researchers to share information: Remote Access.
Asstt. Prof Sonia Sharma Computer Dept 1 HTML ( Hypertext MarkUP Language ) HTML is the lingua franca for publishing hypertext on the World Wide Web.
HTML A brief introduction HTML1. HTML, what is? HTML is a markup language for describing web documents (web pages). HTML stands for Hyper Text Markup.
Department of Computer Science, Florida State University CGS 3066: Web Programming and Design Spring
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.
HTML. HTML: What is it? – HTML stands for Hyper Text Markup Language – An HTML file is a text file containing small markup tags – The markup tags tell.
INT222 – Internet Fundamentals
Web Design Principles 5 th Edition Chapter 3 Writing HTML for the Modern Web.
HTML Structure & syntax
© 2016 Pearson Education, Inc., Hoboken, NJ. All rights reserved.
Basic concepts of web design
What is XHTML? XHTML stands for Extensible Hypertext Markup Language
The World Wide Web.
HTML CS 4640 Programming Languages for Web Applications
CSE 102 Introduction to Web Design and Programming
How the Web Works? WWW use classical client / server architecture
Web Basics: HTML/CSS/JavaScript What are they?
CIS 228 The Internet 9/20/11 XHTML 1.0.
HTML, XHTML, and the World Wide Web
Introduction to HTML.
HTML5 – Heading, Paragraph
Introduction to Web Pages
W3C Web standards and Recommendations
XHTML Basics.
What is XHTML?.
Dongwon Lee, Ph.D. IST 516 Fall 2011
XHTML for Content Structure
Introduction to XHTML.
High Points CSCI 1710 Spring 2016.
Introduction to HTML 5.
XHTML Basics.
XHTML
XHTML Basics.
High Points CSCI 1710 Fall 2017.
HTML A brief introduction HTML.
1 Introduction to the Internet.
Chapter 1 HTML, XHTML, and the World Wide Web
Introduction There are several good reasons for taking CS142: Web Applications: You will learn a variety of interesting concepts. It may inspire you to.
Secure Web Programming
Ground to Roof HTML/HTML5
Introduction to HTML 5.
XHTML Basics.
Introduction to Web Application Design
Introduction to World Wide Web
CIS 133 mashup Javascript, jQuery and XML
An Introduction to HTML Pages
Creating a Basic Web Page
XHTML Basics.
XHTML 7-May-19.
XHTML 29-May-19.
محمد احمدی نیا XHTML محمد احمدی نیا
Web Programming and Design
HTML CS 4640 Programming Languages for Web Applications
Web Design & Development
Creating Web Documents
High Points CSCI 1210.
Presentation transcript:

XHTML 1 by Carsomyr

What is (X)HTML HTML is an acronym meaning 'HyperText Markup Language' The X means eXtensible, because EHTML isn't as cool (X)HTML is a markup language for formatting documents transmitted over the Entarnets (hypertext)

Internet Protocols XHTML is transmitted over a network using a protocol A protocol is an organized way of transmitting data XHTML is transmitted over HTTP ... HyperText Transmission Protocol, usually over Port 80

History of HTML HTML was based on another language, SGML, which was its predecessor and carried some of the same syntax and ideas as HTML HTML was created by Tim Berners-Lee at CERN was instrumental in creating the World Wide Web that you know and love today HTML was unique from things like Usenet in that it had hyperlinks – inline links which allowed users to jump from page to page and access all kinds of information HTML has been updated and the standard improved upon until HTML 4.01 was developed by the W3C and then switched over completely to the development of XHTML

A quick note on the Browser Wars In ye olden days... Netscape vs. IE Modern Browsers Firefox (Gecko engine) Mozilla Suite Opera Safari IE Konqueror et. al. Chrome

Present and Future of XHTML The latest markup standard is that of XHTML, which is based on a combination of HTML and XML, the eXtensible Markup Language For now, XHTML is the one being updated and maintained. It, in some combination with XML and/or XSLT, will most likely be used for web layout in the future

Basic Syntax Done with the history! The general syntax is: <DOCTYPE ... > <html stuff stuff stuff> <head> <stuff /> </head> <body> <more stuff /> </body> </html>

Basic Syntax con't Essentially, you have everything in a tag, with lowercase Everything must be closed <tag> then </tag> or just <tag />, depending on tag Sequential closing is a must Can't do <tag1> <tag2> aoeu </tag1> </tag2> Must be <tag1> <tag2> content </tag2></tag1>

Not A Programming Language (!) You can't program in XHTML XHTML is used for formatting documents The hallmarks of a programming language (execution, decision, memory, etc.) are missing Scripting languages can be run inside XHTML documents (Javascript, VBscript (yuck) et al.) Server side and CGI programs can be run as well, but not as XHTML

Useful Tags and Practice One of the most useful, yet least remembered is the xml and Doctype declaration. Use this one: <?xml version="1.0" encoding="iso-8859-1" ?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> Also, the addendums to the html tag may be new: <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">

Actual tags In reality, the ones that you will need to know are those following: <p> - the paragraph tag <br /> - the newline tag <div> - will be used more later <h#> where # is a positive integer, is used for section headers <span> - also to be used later <table> - only to be used for tabular data <img /> - used for images

Example Let's look at an actual part of a page

Real Life Example Have you ever heard of 'page ranking optimization'? Meta tags!

Next Time More advanced layout Starting CSS Practice and logins

Further Reading www.htmlgoodies.com www.w3schools.com www.google.com www.alistapart.com www.w3c.org