HTML HTML. Chris Seddon CRS Enterprises Ltd 1

Similar documents
CHAPTER 2 MARKUP LANGUAGES: XHTML 1.0

HyperText Markup Language (HTML)

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

Introduction to HTML EVALUATION COPY. (HTM101 version 3.1.5) Copyright Information. Copyright 2013 Webucator. All rights reserved.

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

introduction to XHTML

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

Introduction to HTML5

Basic HTML. Lecture 14. Robb T. Koether. Hampden-Sydney College. Wed, Feb 20, 2013

Basic HTML. Lecture 14. Robb T. Koether. Hampden-Sydney College. Wed, Feb 20, 2013

HTML Overview. With an emphasis on XHTML

Announcements. Paper due this Wednesday

HTML Overview formerly a Quick Review

Scripting for Multimedia LECTURE 1: INTRODUCING HTML5

HTML. HTML Evolution

Title: Dec 11 3:40 PM (1 of 11)

Basic HTML Lecture 14

Programmazione Web a.a. 2017/2018 HTML5

Fall Semester 2016 (2016-1)

Islamic University of Gaza Faculty of Engineering Department of Computer Engineering ECOM Advanced Internet Technology Lab.

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

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

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

Part A Short Answer (50 marks)

Intro to html. --- define every element, attribute, and entity along with the rules for their use

NEW WEBMASTER HTML & CSS FOR BEGINNERS COURSE SYNOPSIS

Creating A Web Page. Computer Concepts I and II. Sue Norris

INTRODUCTION TO WEB USING HTML What is HTML?

LING 408/508: Computational Techniques for Linguists. Lecture 14

is Introduction to HTML

Computer Science E-1. Understanding Computers and the Internet. Lecture 10: Website Development Wednesday, 29 November 2006

2.1 Origins and Evolution of HTML

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

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

Course title: WEB DESIGN AND PROGRAMMING

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

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

1.264 Lecture 12. HTML Introduction to FrontPage

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.

Motivation (WWW) Markup Languages (defined). 7/15/2012. CISC1600-SummerII2012-Raphael-lec2 1. Agenda

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

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

HTML: The Basics & Block Elements

Micronet International College

UNIT II Dynamic HTML and web designing

Advanced HTML Scripting WebGUI Users Conference

1Site Development Foundations Objectives and Locations

HYPERTEXT MARKUP LANGUAGE ( HTML )

Introduction to Web Technologies

Fundamentals: Client/Server

Create a cool image gallery using CSS visibility and positioning property

Welcome. Web Authoring: HTML - Advanced Topics & Photo Optimisation (Level 3) Richard Hey & Barny Baggs

Week 1 - Overview of HTML and Introduction to JavaScript

XHTML & CSS CASCADING STYLE SHEETS

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

SUB Gfittingen A nd Editi S«BEX- SAN FRANCISCO PARIS DUSSELDORF SOEST LONDON

Implementing a chat button on TECHNICAL PAPER

c122jan2714.notebook January 27, 2014

Hyper Text Markup Language

Mobile MOUSe WEB SITE DESIGN ONLINE COURSE OUTLINE

Dreamweaver: Portfolio Site

WEB PAGE DESIGN. Structure

CSCU9B2: Web Tech Lecture 1

Introduction to HTML

How the Internet Works

CSC Web Programming. Introduction to HTML

Document Object Model. Overview

Designing and Developing a Website. December Sample Exam Marking Scheme

Creating Web Pages Using HTML

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

Notes General. IS 651: Distributed Systems 1

Overview. Part I: Portraying the Internet as a collection of online information systems HTML/XHTML & CSS

HTML. HTML is now very well standardized, but sites are still not getting it right. HTML tags adaptation

Unit 5 Web Publishing Systems Page 1 of 13 Part 4 HTML Part 4

INTRODUCTION TO HTML5! HTML5 Page Structure!

13. Databases on the Web

History of the Internet. The Internet - A Huge Virtual Network. Global Information Infrastructure. Client Server Network Connectivity

Hyper Text Markup Language

<page> 1 Document Summary Document Information <page> 2 Document Structure Text Formatting <page> 3 Links Images <page> 4

HTML Images - The <img> Tag and the Src Attribute

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

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

COMS W3101: SCRIPTING LANGUAGES: JAVASCRIPT (FALL 2018)

Exam : 9A Title : Adobe GoLive CS2 ACE Exam. Version : DEMO

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

The Structural Layer (Hypertext Markup Language) Webpage Design

HTML and CSS COURSE SYLLABUS

Html basics Course Outline

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

Web Design and Development ACS Chapter 3. Document Setup

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

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

Vebra Search Integration Guide

Spring 2014 Interim. HTML forms

Wireframe :: tistory wireframe tistory.

HTML & XHTML Tag Quick Reference

CS WEB TECHNOLOGY

CSC Web Technologies, Spring HTML Review

COMS 359: Interactive Media

Web Designing HTML5 NOTES

Transcription:

Chris Seddon seddon-software@keme.co.uk 2000-12 CRS Enterprises Ltd 1

2000-12 CRS Enterprises Ltd 2

Reference Sites W3C W3C w3schools DevGuru Aptana GotAPI Dog http://www.w3.org/ http://www.w3schools.com http://devguru.com/technologies/html/home.asp http://www.aptana.com/reference/html/api/.index.html http://www.gotapi.com/html http://htmldog.com/reference/htmltags/ Copyright 2000-12 CRS Enterprises Ltd 3 2000-12 CRS Enterprises Ltd 3

HTTP Requests and Responses Web browsers and Web servers communicate by using HTTP requests and responses HTTP request HTTP response Web browser Web server The Web browser can request A static resource, such as a fixed page A server-side application, such as Java servlet or JSP Copyright 2000-12 CRS Enterprises Ltd 4 2000-12 CRS Enterprises Ltd 4

Client-Server Interaction Server Server side side processing creates and returns Copyright 2000-12 CRS Enterprises Ltd 5 2000-12 CRS Enterprises Ltd 5

Creating Web Server Applications Java Java Servlets Java Server Pages (JSPs) Typically a combination of both Common Gateway Interface (CGI) CGI scripts in Perl, C, C++, etc. Microsoft technologies Active Server Pages (ASPs), using JScript or VBScript ASP.NET, using any.net language (C#, VB.NET, J#, etc.) Proprietary APIs, targeted at a specific Web server Internet Information Services API (ISAPI) Copyright 2000-12 CRS Enterprises Ltd 6 2000-12 CRS Enterprises Ltd 6

W3C Founded in 1994 World Wide Web Consortium Creates pecifications and guidelines that are intended to promote the web s evolution and ensure that web technologies work well together Specifications for:, CSS, XML, X, DOM, etc Copyright 2000-12 CRS Enterprises Ltd 7 2000-12 CRS Enterprises Ltd 7

Sockets and Ports 192.56.40.2 192.56.40.7 P1 sockets port port P1 machine 1 machine 2 Copyright 2000-12 CRS Enterprises Ltd 8 2000-12 CRS Enterprises Ltd 8

A Basic Web Page <html> <html> <head> <title>hello World</title> </head> <body> Hello, Hello, world! world! </body> </html> home.html Copyright 2000-12 CRS Enterprises Ltd 9 2000-12 CRS Enterprises Ltd 9

Basic X Web Page home.xhtml <!DOCTYPE html html PUBLIC "-//W3C//DTD X 1.0 1.0 Strict//EN" "http://www.w3.org/tr/xhtml1/dtd/xhtml1-strict.dtd"> <html lang="en" dir="ltr" xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="content-type" content="text/xml;charset=utf-8" /> /> <title>my HOME HOME PAGE</title> </head> <body> Hello, Hello, world! world! </body> </html> Copyright 2000-12 CRS Enterprises Ltd 10 2000-12 CRS Enterprises Ltd 10

Doctypes 3 types to choose from: Transitional (loose) more easy going and flexible. Most people are using this Strict everything must be perfect and there is no flexibility. Frameset allows you to use frames on your page <!DOCTYPE PUBLIC "-//W3C//DTD 4.01 4.01 Transitional//EN" "http://www.w3.org/tr/html4/loose.dtd"> <html> <head>...... Copyright 2000-12 CRS Enterprises Ltd 11 2000-12 CRS Enterprises Ltd 11

Page Structure Elements Head tag contains header information metadata, CSS styles, JavaScript code <html> <head> <title> <body> defines entire page header title title visible content Copyright 2000-12 CRS Enterprises Ltd 12 2000-12 CRS Enterprises Ltd 12

Structural Elements <h1>,<h2> <p> <p> <br> <br> <span> <div> 5 heading levels paragraph line line break grouping fragments grouping blocks span is in-line and usually used for a small in-line div is block-line and used to group larger pieces of code. <div <divid="scissors"> <p>this is is <span <spanclass="paper">crazy</span></p> </div> </div> Copyright 2000-12 CRS Enterprises Ltd 13 2000-12 CRS Enterprises Ltd 13

Lists Ordered lists <ol> <ol> <li>coffee</li> <li>tea</li> <li>milk</li> </ol> </ol> Unordered lists <ul> <ul> <li>coffee</li> <li>tea</li> <li>milk</li> </ul> </ul> Copyright 2000-12 CRS Enterprises Ltd 14 2000-12 CRS Enterprises Ltd 14

Tables Tables can be produced using CSS alone opions differ on whether you should use or CSS <table <table border="1"> <tr> <tr> <th>name</th> <th>telephone</th> </tr> </tr> <tr> <tr> <td>john Smith</td> <td>45914</td> </tr> </tr> <tr> <tr> <td>sue Pritchard</td> <td>56321</td> </tr> </tr> </table> Copyright 2000-12 CRS Enterprises Ltd 15 2000-12 CRS Enterprises Ltd 15

Links Links can be used to change pages <a> <a> anchor link link Use name attribute for bookmarks Use # to jump to part of a page <a <ahref="http://www.ibm.com#tips"> Visit Visit the the Useful Useful Tips Tips Section Section </a> </a> Copyright 2000-12 CRS Enterprises Ltd 16 2000-12 CRS Enterprises Ltd 16

Forms Form fields sent to server on submit <form <form action="results.html" method="get"> First First name: name: <input <input type="text" value="john" name="first" /><br /><br/>/> Last Last name: name: <input <inputtype="text" value="smith" name="last" /><br /><br/>/> <input <inputtype="submit" value="click" /> /> </form> Copyright 2000-12 CRS Enterprises Ltd 17 2000-12 CRS Enterprises Ltd 17

Web Graphic Formats GIF Graphic Information Format best for charts, graphics: ads, logos etc. - can contain up to 256 colors support transparency can be animated not good for photographs JPG Joint Photographic Experts Group best for images with many colors - can contain up to 16 million colors scanned artwork and photos can set the compression for each image to reduce the file size PNG - Progressive Network Graphics newest web graphics format - compact and versatile can combine features of GIF & JPG transparent backgrounds & contain millions of colors supported by all modern browsers Copyright 2000-12 CRS Enterprises Ltd 18 2000-12 CRS Enterprises Ltd 18

Images Images should define alternative text for a text only browser Size can be specified <img src="images/kids_hug.jpg" alt="kids hug" height="400" width="400" /> /> Copyright 2000-12 CRS Enterprises Ltd 19 2000-12 CRS Enterprises Ltd 19

Other Components 5 adds further widgets e.g. for multimedia <button> <input> <label> <textarea> buttons text text input boxes text text or or image labels multi-line text text input box box <textarea rows="5" cols="20"> This This is is a multi-line text text input input box box </textarea> Copyright 2000-12 CRS Enterprises Ltd 20 2000-12 CRS Enterprises Ltd 20

Entities To display a special character in a web page use entities < > && non non breaking space less than greater than ampersand copyright trademark < > & Copyright 2000-12 CRS Enterprises Ltd 21 2000-12 CRS Enterprises Ltd 21