THE EVOLUTION OF HTML HTML 4 XHTML HTML XHTML 2000 HTML5 Work In Progress Explain: There are three different types of list Ordered - The.

Slides:



Advertisements
Similar presentations
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.
Advertisements

HTML: HyperText Markup Language Hello World Welcome to the world!
Cascading Style Sheets
HTML – A Brief introduction Title of page This is my first homepage. This text is bold  The first tag in your HTML document is. This tag tells your browser.
17/10/11. 2  The form element ( ) is used to include a number of form elements together so that they can be referenced by some other code in order to.
CM143 - Web Week 2 Basic HTML. Links and Image Tags.
 2008 Pearson Education, Inc. All rights reserved. 1 Introduction to HTML.
Basics of HTML Shashanka Rao. Learning Objectives 1. HTML Overview 2. Head, Body, Title and Meta Elements 3.Heading, Paragraph Elements and Special Characters.
HTML (HyperText Markup Language)
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.
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.
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. What is a HTML File?  HTML stands for Hyper Text Markup Language  An HTML file is a text file containing small markup tags  The.
XP 2 HTML Tutorial 1: Developing a Basic Web Page.
HTML: Hyptertext Markup Language Doman’s Sections.
Copyright © Osmosys O S M O S Y SO S M O S Y S D e p l o y i n g E x p e r i e n c e & E x p e r t i s e™ HTML Training.
4 Chapter Four Introduction to HTML. 4 Chapter Objectives Learn basic HTML commands Discover how to display graphic image objects in Web pages Create.
Ali Alshowaish. What is HTML? HTML stands for Hyper Text Markup Language Specifically created to make World Wide Web pages Web authoring software language.
Web Development & Design Foundations with XHTML Chapter 2 HTML/XHTML Basics.
HTML.
Copyright © Terry Felke-Morris WEB DEVELOPMENT & DESIGN FOUNDATIONS WITH HTML5 Chapter 2 Key Concepts 1 Copyright © Terry Felke-Morris.
HTML Basics. HTML Coding HTML Hypertext markup language The code used to create web pages.
FORMS How to collect information f XX rom visitors Different kinds of form controls New HTML5 form controls.
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
XP 2 HTML Tutorial 1: Developing a Basic Web Page.
INT222 – Internet Fundamentals
Chapter 5 pp HTML Elements & Attributes Format Content Or Examples This Text Is A Hyperlink.
HTML Help book. HTML HTML is the programming language used to make web pages for the Internet. HTML stands for Hyper Text Markup Language. HTML is made.
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.
© 2016 Pearson Education, Inc., Hoboken, NJ. All rights reserved.
HTML Extra Markup CS 1150 Spring 2017.
Working with Cascading Style Sheets
Introduction to HTML.
HTML Basics.
CGS 3066: Lecture 2 Web Development and HTML5
Web Development & Design Foundations with HTML5 8th Edition
Intro to HTML CS 1150 Fall 2016.
Organizing Content with Lists and Tables
Essential Tags Web Design – Sec 3-3
HTML: HyperText Markup Language
Elements of HTML Web Design – Sec 3-2
CIIT-Human Computer Interaction-CSC456-Fall-2015-Mr
Web Development & Design Foundations with HTML5 8th Edition
CGS 3066: Web Programming and Design Spring 2016
Chapter 1: Introduction to XHTML (part 1)
Web Programming– UFCFB Lecture 6
Elements of HTML Web Design – Sec 3-2
HTML A brief introduction HTML.
XHTML Review Anita Philipp Updated Spring 2016.
Marking Up with XHTML Tags describe how a web page should look
CGS 3066: Lecture 2 Web Development and HTML5
HOW PAGES USE STRUCTURE HEADLINE HOW PAGES USE STRUCTURE TEXT.
Introduction to XHTML Cont:.
Structuring Content in a Web Document
Introduction to HTML.
Web Application Development
Basic HTML Workshop.
Marking Up with XHTML Tags describe how a web page should look
CS3220 Web and Internet Programming HTML and XML Basics
Pertemuan 1 Desain web Pertemuan 1
Marking Up with XHTML Tags describe how a web page should look
HOW PAGES USE STRUCTURE HEADLINE HOW PAGES USE STRUCTURE TEXT.
Lesson 2: HTML5 Coding.
Marking Up with XHTML Tags describe how a web page should look
Creating Web Documents
CGS 3066: Web Programming and Design Fall 2019
Presentation transcript:

THE EVOLUTION OF HTML HTML 4 XHTML HTML5 1997 XHTML 2000 HTML5 Work In Progress Explain: There are three different types of list... 1. Ordered - The order of list items is important 2. Unordered - The order of list items is not important 3. Definition - To explain the meaning of terms Had some presentational elements Written in XML Presentational elements removed Can be used today

HTML5 DOCTYPE <!DOCTYPE html> <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd" /> <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/xhtml/DTD/xhtml1-transitional.dtd" /> Explain: Different versions of HTML have different DOCTYPE declarations.

XML DECLARATION <?xml version="1.0" ?> Explain: If using XHTML, you may see an XML declaration. Note that nothing should appear before the XML declaration (not even a space).

COMMENTS IN HTML <!-- start of introduction --> <h1>Current Exhibition</h1> <h2>Olafur Eliasson</h2> <!-- end of introduction --> <!-- <a href="mailto:info@example.org">Contact</a> --> Explain: how comments appear inside <!-- and --> How it is good practice to comment code Tip: can indicate start end end of sections using comments Note: how you can comment out sections of code This hides from users browser view but can be seen in source code

ID ATTRIBUTE <p>Water and air. So very commonplace are these substances, they hardly attraction attention and yet they vouchsafe our very existence.</p> <p id="pullquote">Every time I view the sea I feel a sense of calming security, as if visiting my ancestral home; I embark of a voyage of seeing.</p> <p>Mystery of mysteries, water and air are right there before us in the sea.</p> Explain: The id attribute is used to uniquely identify one element within a page. It is used by CSS and JavaScript.

ID ATTRIBUTE <p>Water and air. So very commonplace are these substances, they hardly attraction attention and yet they vouchsafe our very existence.</p> <p id="pullquote">Every time I view the sea I feel a sense of calming security, as if visiting my ancestral home; I embark of a voyage of seeing.</p> <p>Mystery of mysteries, water and air are right there before us in the sea.</p> Explain: It must always start with letter or underscore (not a number).

CLASS ATTRIBUTE <p class="important">For a one-year period from November 2010, the Marugame Genichiro-Inokuma Museum of Contemporary Art (MIMOCA) will host...</p> <p>Each will showcase works by the artist thematically contextualised under the headings...</p> <p class="important admittance">Hours: 10:00 - 18:00 (No admittance after 17:30)</p>

CLASS ATTRIBUTE <p class="important">For a one-year period from November 2010, the Marugame Genichiro-Inokuma Museum of Contemporary Art (MIMOCA) will host...</p> <p>Each will showcase works by the artist thematically contextualised under the headings...</p> <p class="important admittance">Hours: 10:00 - 18:00 (No admittance after 17:30)</p> Explain: Classes can be used to distinguish more than one element as being used for a specific purpose.

CLASS ATTRIBUTE <p class="important">For a one-year period from November 2010, the Marugame Genichiro-Inokuma Museum of Contemporary Art (MIMOCA) will host...</p> <p>Each will showcase works by the artist thematically contextualised under the headings...</p> <p class="important admittance">Hours: 10:00 - 18:00 (No admittance after 17:30)</p> Explain: A class attribute can have a space-separated list of values.

BLOCK ELEMENTS <h1>Hiroshi Sugimoto</h1> <p>The dates of the ORIGIN OF ART exhibition are as follows:</p> <ul> <li>Science: 21 Nov - 20 Feb 2010</li> <li>Architecture: 6 Mar - 15 May 2010</li> <li>History: 29 May - 21 Aug 2010</li> <li>Religion: 28 Aug - 6 Nov 2010</li> </ul> Explain: HTML has concept of block-level and inline elements. Block level elements look like they appear on a new line. The <h1>, <p>, <ul>, and <li> tags are all examples of this.

Click: lines are drawn around the <h1> <p> and <u> elements to illustrate how they start on a new line

INLINE ELEMENTS Timed to a single revolution of the planet around the sun at a 23.4 degrees tilt that plays out the rhythm of the seasons, this <em>Origins of Art</em> cycle is organized around four themes: <b>science, architecture, history</b> and <b>Religion</b>. Explain: Inline elements do not start on a new line. Any surrounding text flows around these elements.

Click: borders are shown around the inline elements

GROUPING TEXT & ELEMENTS IN A BLOCK <div id="header"> <img src="logo.gif" alt="Anish Kapoor" /> <ul> <li><a href="index.html">Home</a></li> <li><a href="bio.html">Bio</a></li> <li><a href="works.html">Works</a></li> <li><a href="contact.html">Contact</a> </li> </ul> </div><!-- #header --> Fade in: highlights <div> tags Explain: how <div> can be used to group together elements into a block level element Note: how id attribute is used to identify what the <div> element is used for

GROUPING TEXT & ELEMENTS IN A BLOCK <div id="header"> <img src="logo.gif" alt="Anish Kapoor" /> <ul> <li><a href="index.html">Home</a></li> <li><a href="bio.html">Bio</a></li> <li><a href="works.html">Works</a></li> <li><a href="contact.html">Contact</a> </li> </ul> </div><!-- #header --> Explain: The <div> tag can be used to group together elements into a block-level element. Note how the id attribute is used to identify what the <div> element is used for.

GROUPING TEXT & ELEMENTS INLINE <p>Anish Kapoor won the Turner Prize in 1991 and exhibited at the <span class="gallery">Tate Modern</span> gallery in London in 2003.</p> Explain: The <span> element can only contain inline content.

GROUPING TEXT & ELEMENTS INLINE <p>Anish Kapoor won the Turner Prize in 1991 and exhibited at the <span class="gallery">Tate Modern</span> gallery in London in 2003.</p> Explain: This example uses a class attribute to identify this content as different from surrounding content.

IFRAMES <iframe width="450" height="350" src="http://maps.google.co.uk/maps? q=moma+new+york&output=embed" frameborder="0" scrolling="0"> </iframe> Explain: An iframe acts like it is cutting a window into the current web page. This allows you to see another web page behind it. A common use for iframes is including a Google Map in a page.

INFORMATION ABOUT YOUR PAGES <head> <meta name="description" content="An essay on installation art" /> <meta name="robots" content="nofollow" /> <meta http-equiv="Author" content="Jon Duckett" /> <meta http-equiv="pragma" content="no-cache" /> </head> Explain: Meta tags provide information about the page. Note that the first pair here includes name and content attributes. The second pair includes http-equiv and content attributes.

ESCAPE CHARACTERS <p>© 2012</p> <p>© 2012</p> <p>The <html> tag</p> <p>The <html> tag</p> Explain: Some characters are shown using escape characters (or "entity references"). e.g. Copyright and trademark symbols Explain: Some characters are used in the HTML code itself, therefore need to be represented on the page using escape characters. e.g. Left and right angled brackets, ampersands

DOCTYPES tell browsers which version of HTML you are using. SUMMARY DOCTYPES tell browsers which version of HTML you are using. Clicks: Load individual bullets

You can add comments to your code between the SUMMARY You can add comments to your code between the <!-- and --> markers. Clicks: Load individual bullets

The id and class attributes allow you to identify particular elements. SUMMARY The id and class attributes allow you to identify particular elements. Clicks: Load individual bullets

SUMMARY The <div> and <span> elements allow you to group block-level elements and inline content together. Clicks: Load individual bullets

SUMMARY <iframes> cut windows into your web pages through which other pages can be displayed. Clicks: Load individual bullets

SUMMARY The <meta> tag allows you to supply all kinds of information about your web page. Clicks: Load individual bullets

SUMMARY Escape characters are used to include special characters in your pages such as <, >, and ©. Clicks: Load individual bullets