HTML Hypertext Markup Language Charles Severance www.dr-chuck.com.

Slides:



Advertisements
Similar presentations
LIS650lecture 1 XHTML 1.0 strict Thomas Krichel
Advertisements

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.
4. Internet Programming ENG224 INFORMATION TECHNOLOGY – Part I
Internet Applications Development Lecture 2 L. Obead Alhadreti.
Web Development & Design Foundations with XHTML
Ideas to Layout Beginning web layout using Cascading Style Sheets (CSS). Basic ideas, practices, tools and resources for designing a tableless web site.
Unit 3 Day 4 FOCS – Web Design. No Journal Entry.
HTML.
INTRODUCTION TO HYPERTEXT MARKUP LANGUAGE 1. Outline  Introduction  Markup Languages  Editing HTML  Common Tags  Headers  Text Styling  Linking.
A really fairly simple guide to: mobile browser-based application development (part 1) Chris Greenhalgh G54UBI / Chris Greenhalgh
1 HTML Standards & Compliance. 2 Minimum Required HTML tags: (must go in this order!)
Beginning of HTML Document
HTML/XML XHTML Authoring. Creating Tables  Table: An arrangement of horizontal rows and vertical columns. The intersection of a row and a column is called.
MMDE5011 – INTERACTIVE MEDIA PRACTICE 1 WEEK 1: INTRODUCTION TO HTML5
CSS Cascading Style Sheets Charles Severance
HTML Creating Web pages. HTML Hyper Text Markup Language Not programming, but a markup language using tags to format text in Web browsers.
Introduction to HTML Bent Thomsen Institut for Datalogi Aalborg Universitet.
V Summer workshop in Guildford County, July, 2014.
HTML & XHTML Web Publishing. What is HTML? HTML- Hypertext Markup Language ▫Start with text on your page & add special tags ▫These specific tags produce.
HTML tags Skills: adding HTML tags, text editor IT concepts: plain text, computer components – storage versus memory, separation of content and format.
Tutorial 1 Developing a Basic Web Page
XP 1 New Perspectives on Creating Web Pages with HTML Tutorial 1: Developing a Basic Web Page.
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.
Introducing HTML & XHTML:. Goals  Understand hyperlinking  Understand how tags are formed and used.  Understand HTML as a markup language  Understand.
Overview of HTML. Three Different Approaches  Text editor like Notepad  HTML editor such as: –KompoZer –DreamWeaver –Microsoft Expression Web –iWeb.
Creating a Simple Page: HTML Overview
Copyright © 2008 Pearson Education, Inc. Publishing as Pearson Addison-Wesley Fluency with Information Technology Third Edition by Lawrence Snyder Chapter.
 2008 Pearson Education, Inc. All rights reserved Introduction to XHTML.
XML introduction to Ahmed I. Deeb Dr. Anwar Mousa  presenter  instructor University Of Palestine-2009.
Computer Science 101 Introduction to Web Pages. Origins of the Web Vannevar Bush (Memex, 1945) Ted Nelson (Xanadu, 1968) Doug Englebart and Alan Kay (
.  Entertain  Inform  Educate  Blogs  Sell  Date  Gamble  Religion.
Programming in HTML.  Programming Language  Used to design/create web pages  Hyper Text Markup Language  Markup Language  Series of Markup tags 
Understanding HTML Code
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.
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.
CP2022 Multimedia Internet Communication1 HTML and Hypertext The workings of the web Lecture 7.
Department of Information Technology Chapter 8 - Creating Hypertext links Lecturer: Ms Melinda Chung.
Programming in HTML.  Programming Language  Used to design/create web pages  Hyper Text Markup Language  Markup Language  Series of Markup tags 
 2008 Pearson Education, Inc. All rights reserved Introduction to XHTML.
Introduction to HTML. Slide 1 Hard-Coding What is hard-coding? –Creating the page in a text editor just using HTML A Web designer should know how to hard-
Unit 2, cont. September 12 More HTML. Attributes Some tags are modifiable with attributes This changes the way a tag behaves Modifying a tag requires.
INTRODUCTORY Tutorial 1 Using HTML Tags to Create Web Pages.
HTML: Hyptertext Markup Language Doman’s Sections.
Chapter 7 Web Design.. HTML  Hypertext Markup Language  Using HTML, text is formatted by wrapping it in a tag.  The tags provide instructions to the.
COP 3813 Intro to Internet Computing Prof. Roy Levow Lecture 2.
Introduction to HTML. Today’s Discussion What is HTML ? What is HTML ? What is Web Page ? What is Web Page ? Web Server Web Server Web Browser Web Browser.
Chapter 2 Designing Web Pages With HTML JavaMethods An Introduction to Object-Oriented Programming Maria Litvin Gary Litvin Copyright © 2003 by Maria Litvin,
COP 3813 Intro to Internet Computing Prof. Roy Levow Lecture 2.
HTML (Hyper Text Markup Language) Lecture II. Review Writing HTML files for web pages – efficient compact – fundamental. Text files with htm extension.
©SoftMoore ConsultingSlide 1 Introduction to HTML: Basic Document Structure.
2.1 XHTML. Motto High thoughts must have high language. –Aristophanes.
HyperText Markup Language. Web Hosting Creating a web site (on a site like iPage) –Buy domain name ( –iPage has registrar (e.g., FastDomain.
HTML HYPER TEXT MARKUP LANGUAGE. INTRODUCTION Normal text” surrounded by bracketed tags that tell browsers how to display web pages Pages end with “.htm”
1 2/16/05CS120 The Information Era Chapter 4 Basic Web Page Construction TOPICS: Intro to HTML and Basic Web Page Design.
Department of Computer Science, Florida State University CGS 3066: Web Programming and Design Spring
1 HTML: HyperText Markup Language Representation and Management of Data on the Internet.
Department of Computer Science, Florida State University CGS 3066: Web Programming and Design Spring
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.
Web Design Terminology Unit 2 STEM. 1. Accessibility – a web page or site that address the users limitations or disabilities 2. Active server page (ASP)
Web Design Principles 5 th Edition Chapter 3 Writing HTML for the Modern Web.
Introduction to HTML Dave Edsall IAGenWeb County Coordinator’s Conference June 30, 2007.
Introduction to HTML:.
Creating a Web Page CSC 121.
HTML Charles Severance
HTML5 – Heading, Paragraph
Web Programming– UFCFB Lecture 9
Overview of HTML.
Introduction to HTML- Basics
Web Programming– UFCFB Lecture 9
Presentation transcript:

HTML Hypertext Markup Language Charles Severance

HTML A way of marking up text to indicate that some text is different than other text We “tag” portions of the text to communicate meaning This is a paragraph with a loud word in it. And this is yet another paragraph.

<a title="Send mail to View Source Source: CTools

Evolution of HTML

The Web is a Young Technology Invented in early 1990’s Popular in 1994 Robert Cailliau - coFounder of the World-Wide-Web

The big picture... University of Michigan.... A web server produces HTML which is handed to a browser which needs to lay it out in a blink of an eye and have it pixel perfect as good as a print brochure. (Screenshot) Source: (Server) CC: BY Ketmonkey (flckr)

HTML has evolved a *lot* over the years - as computers and networks have gotten faster. Source:

History of HTML / CSS HTML The Good Old Days - life was simple HTML Some interesting layout features - abused CSS HTML HTML Layout moving toward CSS CSS Level HTML What we use today HTML has evolved a *lot* over the years - as computers and networks have gotten faster.

The Good Old Days Hello World Hi there. A Paragraph List one List 2 In the good old days you wrote HTML and browsers displayed it - since we wrote it by hand - and modems were slow - it was never too long and never too complex. The browser was never the rate limiting factor. Writing HTML was like using a simple, weak word processor. The tags acted as formatting commands to the browser.

The Ugly Middle Ages Web Designers designed to browser capabilities - down to particular minor versions of browsers. Extensive testing was needed on lots of browsers Designers used tables, nested tables, and chopped up graphics to gain control of the look and feel of web pages to produce a “print-like” experience. HTML was UGLY, Hard to develop, and brittle - what looked superb on one browser - often was broken on another browser - even a later release of the same brower.

The Modern Era HTML is clean and simple There is no presentation in HTML - font, color, spacing, etc etc No use of tables except for tabular data CSS controls all layout, and look and feel Still a bit challenging - but converging

HTML was simple and pages looked pretty ugly HTML became more complex and each browser was different Browsers slowly supported CSS to varying levels. HTML was still ugly to support multiple browsers New browsers supported CSS. Old browsers were still pretty pervasive but diminishing The last “pre-CSS” browser (IE5) is < 0.1%

What does this mean for us? Don’t bother with the intermediate steps - don’t make all the mistakes :) Either keep it simple - or do it well - simple does work If you want a professional site use all of the best practices Presentation in CSS + semantic markup in HTML

HTML

HTML Tag Basics Hello World Start tagEnd tag Self-closing tag Attribute A self closing tag does not need a corresponding end tag. Tags “mark up” the HTML document. The tags are read and interpreted by the browser - but not shown.

The Basic Outline

A Simple but Modern Page Learning the Google App Engine Google App Engine: About Welcome to the site dedicated to learning the Google Application Engine. We hope you find useful.

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" " Learning the Google App Engine Google App Engine: About Welcome to the site dedicated to learning the Google Application Engine. We hope you find useful. Begin Tag End Tag Attribute Whitespace and end lines do not matter except in attributes.

Validating HTML To validate a web page, you can use the online validator Paste, or upload the HTML or use a URL Source: W3C

dr-chuck.com... Source: W3C Source:

University of Michigan.... Source: W3C Source:

White space and line ends in HTML are ignored - the browser re-flows text based on width and font. Google App Engine: About Welcome to the site dedicated to learning the Google Application Engine. We hope you find useful.

Browser Text Wrapping / Resize The browser wraps lines based on its width - resizing the browser dynamically re-wraps lines.

Symbols HTML: Special Characters Special characters are indicated by the & character. We can use this to display < and >.

Header Levels First Major Heading First Subheading Second Subheading A Sub-subheading Another Major Heading Another Subheading Headers were very ugly in default rendering - most folks started with.

Lists App Engine: Topics Python Basics Python Functions Python Python Objects Hello World The WebApp Framework Using Templates

App Engine: Topics Python Basics Python Functions Python Python Objects <!-- Leave these two out for a while Hello World The WebApp Framework --> Using Templates Comments

Link Anatomy Sites Start TagEnd Tag Start Tag Clickable Text Where to go when link is clicked (an attribute). We will make this pretty later with CSS.

Links Between Files AppEngineLearn Sites Topics Google App Engine: About Welcome to the site dedicated to learning the Google Application Engine. We hope you find useful.

Multiple Files csev$ ls -l -rw-r--r-- 1 csev staff 618 Dec 18 22:56 index.htm -rw-r--r-- 1 csev staff 883 Dec 18 22:57 sites.htm -rw-r--r-- 1 csev staff 679 Dec 18 22:57 topics.htm csev$

Special File Names When a URL points to a directory in your web server, it looks for a file with a special name: index.html, index.htm, index.php, default.htm, etc.. While there is a convention, the “default file” is configurable - so nothing is “sure” Usually index.htm or index.html is a safe bet This only works when viewing through a web server - when viewing from disk, you must view the file.

Navigating AppEngineLearn Sites Topics

Images

Begin Tag End Tag Begin Tag Show this when hovering, images are off, or for screen readers. Which image to display Optional - makes display quicker. Will resize to fit. All information is communicated through the attributes of the img tag. <img src="appengine.jpg" width="142" height="109" alt="Google App Engine Logo" style="float:right" /> Put the image on the right and wrap text around it. Images

<img src="appengine.jpg" width="142" height="109" alt="Google App Engine Logo" style="float:right"/> Google App Engine: About Welcome to the site dedicated to learning the Google Application Engine. We hope you find useful. In this case, the file appengine.jpg needs to be in the same directory as the file index.html.

<img src="appengine.jpg" width="142" height="109" alt="Google App Engine Logo" style="float:right"/> Google App Engine: About Welcome to the site dedicated to learning the Google Application Engine. We hope you find useful.

<img src="appengine.jpg" width="142" height="109" alt="Google App Engine Logo" /> Google App Engine: About Welcome to the site dedicated to learning the Google Application Engine. We hope you find useful. <img src="appengine.jpg" width="142" height="109" alt="Google App Engine Logo“ style="float:right"/> Google App Engine: About Welcome to the site dedicated to learning the Google Application Engine. We hope you find useful.

Summary HTML has gone through many changes and evolutions It started clean and simple - then got ugly and nasty - now we are back to a clean and simple approach HTML Markup needs to focus on meaning - not formatting Formatting is handled using CSS - Cascading Style Sheets