HTML. HTML Evolution

Similar documents
Document Object Model. Overview

1/6/ :28 AM Approved New Course (First Version) CS 50A Course Outline as of Fall 2014

Summary 4/5. (contains info about the html)

CSC Web Technologies, Spring HTML Review

CHAPTER 2 MARKUP LANGUAGES: XHTML 1.0

HTML Summary. All of the following are containers. Structure. Italics Bold. Line Break. Horizontal Rule. Non-break (hard) space.

Certified HTML5 Developer VS-1029

Chapter 2:- Introduction to XHTML. Compiled By:- Sanjay Patel Assistant Professor, SVBIT.

HTML TAG SUMMARY HTML REFERENCE 18 TAG/ATTRIBUTE DESCRIPTION PAGE REFERENCES TAG/ATTRIBUTE DESCRIPTION PAGE REFERENCES MOST TAGS

CS144 Notes: Web Standards

As we design and build out our HTML pages, there are some basics that we may follow for each page, site, and application.

Markup Language. Made up of elements Elements create a document tree

CSI 3140 WWW Structures, Techniques and Standards. Markup Languages: XHTML 1.0

Website Development with HTML5, CSS and Bootstrap

Programmazione Web a.a. 2017/2018 HTML5

HyperText Markup Language (HTML)

introduction to XHTML

Text and Layout. Digital Multimedia, 2nd edition Nigel Chapman & Jenny Chapman Chapter 11. This presentation 2004, MacAvon Media Productions

Certified HTML Designer VS-1027

WML2.0 TUTORIAL. The XHTML Basic defined by the W3C is a proper subset of XHTML, which is a reformulation of HTML in XML.

Review of HTML. Chapter Pearson. Fundamentals of Web Development. Randy Connolly and Ricardo Hoar

Web Development and HTML. Shan-Hung Wu CS, NTHU

HTML. MPRI : Web Data Management. Antoine Amarilli Friday, December 7th 1/28

COPYRIGHTED MATERIAL. Contents. Chapter 1: Creating Structured Documents 1

MPT Web Design. Week 1: Introduction to HTML and Web Design

A Brief Introduction to HTML

Html basics Course Outline

HTML and CSS COURSE SYLLABUS

HTML HTML/XHTML HTML / XHTML HTML HTML: XHTML: (extensible HTML) Loose syntax Few syntactic rules: not enforced by HTML processors.

GRAPHIC WEB DESIGNER PROGRAM

CSC Web Programming. Introduction to HTML

Lecture : 3. Practical : 2. Course Credit. Tutorial : 0. Total : 5. Course Learning Outcomes

1.264 Lecture 12. HTML Introduction to FrontPage

A HTML document has two sections 1) HEAD section and 2) BODY section A HTML file is saved with.html or.htm extension

CSCB20 Week 6. Introduction to Database and Web Application Programming. Anna Bretscher Winter 2016

Chapter 1 Getting Started with HTML 5 1. Chapter 2 Introduction to New Elements in HTML 5 21

Create web pages in HTML with a text editor, following the rules of XHTML syntax and using appropriate HTML tags Create a web page that includes

Web Programming and Design. MPT Senior Cycle Tutor: Tamara Week 1

2.1 Origins and Evolution of HTML

Web Development & Design Foundations with HTML5 & CSS3 Instructor Materials Chapter 2 Test Bank

QUICK REFERENCE GUIDE

Deccansoft Software Services

Understanding this structure is pretty straightforward, but nonetheless crucial to working with HTML, CSS, and JavaScript.

Web Development & Design Foundations with XHTML. Chapter 2 Key Concepts

Basics of Web Design, 3 rd Edition Instructor Materials Chapter 2 Test Bank

MODULE 2 HTML 5 FUNDAMENTALS. HyperText. > Douglas Engelbart ( )

Web and Apps 1) HTML - CSS

Web development using PHP & MySQL with HTML5, CSS, JavaScript

Course Overview. Week 1

Tutorial 1 Getting Started with HTML5. HTML, CSS, and Dynamic HTML 5 TH EDITION

More about HTML. Digging in a little deeper

The [HTML] Element p. 61 The [HEAD] Element p. 62 The [TITLE] Element p. 63 The [BODY] Element p. 66 HTML Elements p. 66 Core Attributes p.

recall: a Web page is a text document that contains additional formatting information in the HyperText Markup Language (HTML)

Hyper Text Markup Language HTML: A Tutorial

Introduction to Web Technologies

Part A Short Answer (50 marks)

Advanced HTML Scripting WebGUI Users Conference

CSC 121 Computers and Scientific Thinking

HTML CS 4640 Programming Languages for Web Applications

Static Webpage Development

HTML HTML. Chris Seddon CRS Enterprises Ltd 1

Index. CSS directive, # (octothorpe), intrapage links, 26

COPYRIGHTED MATERIAL. Contents. Introduction. Chapter 1: Structuring Documents for the Web 1

2.1 Origins and Evolution of HTML

Selected Sections of Applied Informatics

CSI 3140 WWW Structures, Techniques and Standards

COMS 359: Interactive Media

Web Programming Week 2 Semester Byron Fisher 2018

Introduction to HTML5

Exam Format: Multiple Choice, True/False, Short Answer (3 points each 75 points total) Write-the-page (25 points)

A Balanced Introduction to Computer Science, 3/E

Programming of web-based systems Introduction to HTML5

Web Technology. HTML & xhtml

HTTP and HTML. We will use HTML as a frontend to our webapplications, therefore a basic knowledge of HTML is required, especially in forms.

By Ryan Stevenson. Guidebook #2 HTML

Wireframe :: tistory wireframe tistory.

COSC 2206 Internet Tools. Brief Survey of HTML and XHTML Document Structure Formatting

Vebra Search Integration Guide

Web Development and Design Foundations with HTML5 8th Edition

CPET 499/ITC 250 Web Systems. Topics

XHTML & CSS CASCADING STYLE SHEETS

COMP519 Web Programming Lecture 3: HTML (HTLM5 Elements: Part 1) Handouts

Web Site Development with HTML/JavaScrip

HTML5. HTML5 Introduction. Form Input Types. Semantic Elements. Form Attributes. Form Elements. Month Number Range Search Tel Url Time Week

Web Site Design and Development Lecture 23. CS 0134 Fall 2018 Tues and Thurs 1:00 2:15PM

Internet publishing HTML (XHTML) language. Petr Zámostný room: A-72a phone.:

Announcements. Paper due this Wednesday

Brief Intro to HTML. CITS3403 Agile Web Development. 2018, Semester 1

Scripting for Multimedia LECTURE 1: INTRODUCING HTML5

INTRODUCTION TO HTML5! HTML5 Page Structure!

HTML. Based mostly on

CSCU9B2: Web Tech Lecture 1

CS 350 COMPUTER/HUMAN INTERACTION. Lecture 6

Introduction to WEB PROGRAMMING

HTML Hyper Text Markup Language

New Media Production HTML5

Creating Web Pages Using HTML

Name Related Elements Type Default Depr. DTD Comment

Introduction to HTML. SSE 3200 Web-based Services. Michigan Technological University Nilufer Onder

Copyright 2008 Pearson Education, Inc. Publishing as Pearson Addison-Wesley. Chapter 2 Introduction to XHTML

Transcription:

Overview stands for HyperText Markup Language. Structured text with explicit markup denoted within < and > delimiters. Not what-you-see-is-what-you-get (WYSIWYG) like MS word. Similar to other text markup languages like latex.

Evolution was designed as an application of IBM's Standard Generalized Markup Language SGML. 1.0: used href for hyperlinks. Evolution added support for tables, client-side image maps. Evolution even added support for presentation elements like font, color. Modern removes support for presentation elements; moved presentation into CSS. documents are often sloppily marked up; standards explicitly dene behavior for some bad mark up.

DTD's 4.0 Never caught on. <!DOCTYPE PUBLIC "-//W3C//DTD 4.01//EN" "http://www.w3.org/tr/html4/strict.dtd"> X as an XML document. Since XML must be well-formed, diculties for web authors who were used to sloppy markup. <!DOCTYPE html PUBLIC "-//W3C//DTD X 1.0 Strict//EN" "http://www.w3.org/tr/xhtml1/dtd/ xhtml1-strict.dtd"> 5 Modern, simple DTD <!DOCTYPE html>.

Markup A document consists of a tree of elements. A element delimited between a start tag like <a> and an end-tag like </a>. There may be text or other tags between the start tag and end tag. The start tag may contain attributes, like <a href="submit.cgi">. The set of allowed attributes for any element are predened with one exception: any element can have attributes with names starting with data-. Allows extensible attributes. A tag with no content can be denoted as <br />; often simply use opening tag without closing tag; so simply <br>.

Common Attributes href rel id class Species absolute or relative URL to another resource. Species the relationship of the linked to resource from the linking resource. Species an ID for element. The ID must be unique across the entire document. Value consists of multiple space-separated identiers. Element class can be used for attaching styling and/or behavior to the element. class and rel attributes have been used to provide semantics to markup using microformats. Example microformats: hcalendar for events, hcard for contact information, geo for geographical information.

Page-Level Elements <html> <head> <body> A single <html> element must be present enclosing entire content. Contains meta-content like <title> (displays title in browser window bar), <link> for loading CSS stylesheets, <script> for loading JavaScript les. Encloses actual document content.

Block-Level Markup <h1>,..., <h6> <section> <nav> <div> <p> Headings at dierent levels. Delimits a section of the document. Usually followed by a <hi> element. Used for delimiting content used for site navigation. Used for delimiting general block content. Usually used to attach style or behavior to a block using id or class attributes. Used for delimiting paragraphs.

List Markup Unordered Lists Denoted using <ul> <li>...</li>... </ul> Ordered Lists Denoted using <ol> <li>...</li>... </ol> Denition Lists Denoted using <dl> <dt>...</dt> <dd>...</dd>... </dl>

Table Markup Tables delimited using <table> tags. Rows within a table are delimited using <tr> tags. Table entries within a row are delimited using <th> tags (for heading entries) or <td> tags (for data entries). A table entry can span multiple columns (using attribute colspan) or multiple rows (using attribute rowspan).

Inline Markup <span> <em> <strong> <img> Simply used to delimit some content, similar to <div>. Example <span class="keyword">while</span>. Emphasized text. Example: <em>important</em>. Strongly emphasized text. Example: <strong class="alert">warning</strong> Used to embed an image Example: <img src="smile-emoji.gif">. Can also be used at the block level. <a> Hyperlinks. Example See <a href="other-doc.html>other document</a>.

Linking to Stylesheets <link rel="stylesheet" href="style.css"> End tag must not be present. For best eciency, include in head section.

Linking to JavaScript <script type="text/javascript" src="code.js"></script> End tag must be present. For best eciency, include after bulk of document body just before </body> tag.

Forms <form action="http:www.google.com" method="get"> Search: <input name="q"> </form> Forms need to be set up using <form> tags. action gives URI where form should be submitted. method can be get (default) or post. Other HTTP methods are not supported. enctype used when method is post. Default is application/x-www-form-urlencoded. Use multipart/form-data if uploading les. 5 allows text/plain.

Form Controls All form controls have a name attribute which gives the name by which that control is submitted. Usually form controls have to be embedded within a <form> element, but 5 allows using a form attribute specifying the id of any <form> element on that page. Form controls can be disabled which makes them inactive. Captions for form controls by putting control inside a <label> element or by specifying control id in the for attribute for <label>. Can group controls together using <fieldset>.

Form Input Control <input type=" =TYPE"> Live example from MDN. Less typing using Local example Main form input eld. TYPE traditionally had values button, checkbox, file, hidden, image, password, radio, reset, submit, text (default). 5 added many more variants: color for color-picker, date, datetime-local, time, month, week for date-time, email, tel for contact information, number, range for numeric information, url for URLs. autocomplete attribute allows browser to ll in information previously saved by user. pattern attribute is a regex the entire value is matched against.

Miscellaneous Form Controls <select> <textarea> Provides a menu of options using embedded <option> elements. Specify multiple attribute to allow multiple options to be selected. Can make an option selected by setting its selected attribute. Multiline text input.