Announcements. Paper due this Wednesday

Similar documents
Fundamentals: Client/Server

c122jan2714.notebook January 27, 2014

CHAPTER 2 MARKUP LANGUAGES: XHTML 1.0

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

introduction to XHTML

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

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

INTRODUCTION TO HTML5! HTML5 Page Structure!

HTML. Hypertext Markup Language. Code used to create web pages

Chapter 4. Introduction to XHTML: Part 1

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

HTML TUTORIAL ONE. Understanding What XHTML is Not

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

Chapter 2 Creating and Editing a Web Page

1. The basic building block of an HTML document is called a(n) a. tag. b. element. c. attribute. d. container. Answer: b Page 5

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

HTML. Mohammed Alhessi M.Sc. Geomatics Engineering. Internet GIS Technologies كلية اآلداب - قسم الجغرافيا نظم المعلومات الجغرافية

Web Publishing Basics I

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

What is XHTML? XHTML is the language used to create and organize a web page:

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

Announcements. 1. Class webpage: Have you been reading the announcements? Lecture slides and coding examples will be posted

A Brief Introduction to HTML

CMPT 165 Unit 2 Markup Part 2

Announcements. 1. Class webpage: Have you been reading the announcements? Lecture slides and coding examples will be posted

HTML & XHTML Tag Quick Reference

HTML+ CSS PRINCIPLES. Getting started with web design the right way

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

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

BASICS OF WEB DESIGN CHAPTER 2 HTML BASICS KEY CONCEPTS

11. HTML5 and Future Web Application

CSC 121 Computers and Scientific Thinking

CSCU9B2: Web Tech Lecture 1

COMSC-030 Web Site Development- Part 1. Part-Time Instructor: Joenil Mistal

HTML BEGINNING TAGS. HTML Structure <html> <head> <title> </title> </head> <body> Web page content </body> </html>

Certified HTML5 Developer VS-1029

XHTML & CSS CASCADING STYLE SHEETS

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

Creating and Editing a Web Page Using Inline Styles

Html basics Course Outline

How the Internet Works

ROLE OF WEB BROWSING LAYOUT ENGINE EVALUATION IN DEVELOPMENT

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

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

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

Learning Objectives. Review html Learn to write a basic webpage in html Understand what the basic building blocks of html are

Web Design and Development ACS Chapter 3. Document Setup

Tutorial 2 - HTML basics

Web Development and Design Foundations with HTML5 8th Edition

HyperText Markup Language (HTML)

Chapter 10: Understanding the Standards

This document provides a concise, introductory lesson in HTML formatting.

Programmazione Web a.a. 2017/2018 HTML5

Web Page Creation Part I. CS27101 Introduction to Web Interface Design Prof. Angela Guercio

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

Management Information Systems

HTML Overview formerly a Quick Review

Title: Sep 12 10:58 AM (1 of 38)

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

FUNDAMENTALS OF WEB DESIGN (46)

Full file at New Perspectives on HTML and CSS 6 th Edition Instructor s Manual 1 of 13. HTML and CSS

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

Part 1: HTML Language HyperText Make-up Language

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

A Balanced Introduction to Computer Science, 3/E

Module 2 (III): XHTML

1.264 Lecture 12. HTML Introduction to FrontPage

CAS 111D: XHTML Tutorial

2.1 Origins and Evolution of HTML

CSCE 101. Creating Web Pages with HTML5 Applying style with CSS

Introduction to using HTML to design webpages

1. Please, please, please look at the style sheets job aid that I sent to you some time ago in conjunction with this document.

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

Co. Louth VEC & Co. Monaghan VEC. Programme Module for. Web Authoring. leading to. Level 5 FETAC. Web Authoring 5N1910

c122sep814.notebook September 08, 2014 All assignments should be sent to Backup please send a cc to this address

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

Understanding the Web Design Environment. Principles of Web Design, Third Edition

Certified HTML Designer VS-1027

HTML. Based mostly on

Bok, Jong Soon

Scripting for Multimedia LECTURE 1: INTRODUCING HTML5

7300 Warden Avenue, Suite 503 Markham, Ontario Canada L3R 9Z6. Phone: Toll Free: Fax:

INTRODUCTION TO WEB USING HTML What is HTML?

I-5 Internet Applications

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

Course Overview. Week 1

Hyper Text Markup Language HTML: A Tutorial

Developing a Basic Web Page

HYPERTEXT MARKUP LANGUAGE ( HTML )

Chapter 1 Self Test. LATIHAN BAB 1. tjetjeprb{at}gmail{dot}com. webdesign/favorites.html :// / / / that houses that information. structure?

HTML Hints & Tips. HTML is short for HyperText Markup Language.

It is possible to create webpages without knowing anything about the HTML source behind the page.

Advanced Web Programming C2. Basic Web Technologies

HTML HTML. Chris Seddon CRS Enterprises Ltd 1

HTML Hyper Text Markup Language

Introduction to XHTML

CSC Web Programming. Introduction to HTML

Bridges To Computing

HTML CS 4640 Programming Languages for Web Applications

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

Transcription:

Announcements Paper due this Wednesday 1

Client and Server Client and server are two terms frequently used Client/Server Model Client/Server model when talking about software Client/Server model when talking about hardware Examples of Client/Server systems Web browser/web Server E-mail client/e-mail Server 2

Creating Web Pages HTML - Hypertext Markup Language HTML Standard Developed by the World Wide Web Consortium (W3C) http://www.w3.org Latest version HTML 4.01 Document is described through a series of commands and directives present in a text file. HTML goal is to describe structure only. Presentation should be left to cascading style sheets. When interpreted by an HTML viewer, those commands determine the appearance of the page HTML documents are entirely ASCII text Commands are explicitly inserted Site with great information: http://www.htmlcompendium.org/ 3

HTML Three versions of HTML HMTL 4.01 Strict (excludes deprecated tags and attributes) HTML 4.01 Transitional (less restrictive including appearance elements) HTML 4.01 Frameset (identical to transitional but allows <body> to be replaced with <frameset> Web Standards Project (www.webstandards.org) Industry watchdog convincing web browsers developers to adhere to web standards. HTML 4.01 is the last version for HTML. Next version is XHTML 1.0 XHTML Uses same tags as HTML 4.01 Enforces rules like closing tags, tags in lowercase, and others. 4

Validation You can use Page Valet 4.2 (http://valet.webthing.com/page/upload.html) to validate your code. Also through firefox you can use tidy for html validation. Tidy also provides suggestions for code that cannot be validated. You can also validate using the w3 validator (http://validator.w3.org/#validate-by-upload) Let s validate the previous example 5

HTML Tags Tag specifies a command or directive General format: <elementname attributes> Most HTML elements have two tags: start tag and end tag Example: <h1> text </h1> Although tags and attributes can be in uppercase we will use lowercase (XHTML will require this style) For some tags the end tag is optional, however for XHTML compliance, we will always have a closing tag 6

Tags without end tags <hr> <br> <col> <area> <base> <img> <input> <input> <isindex> <param> <link> <basefront> <frame> <meta> 7

Attributes An attribute extends or modify a tag Attributes Only appear in the start tag You can have several attributes in one tag each separated by spaces Order is immaterial Some take values which are specified after an = General format <ELEM ATTR= attrvalue >Displayed Text</ELEM> Example <img src= bear.gif width= 100 height= 75 > All attribute values will be enclosed in for XHTML compliance. 8

HTML When nesting tags you must avoid the following scenario: <i><b>message</i></b> Browser Processing Multiple spaces are converted to one space John Mary Peter John Mary Peter Line returns are ignored Unrecognized tags are ignored Comments Represented by <! COMMENT GOES HERE --> Examples <! The html code example starts at this point --> A space is required after <!- and before --> Comments can not be nested 9

A Basic Skeleton for an HTML Document An html document has two parts Header provides information about the document Body contents of the page Example 1 (htmldoc1.html) <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/tr/xhtml1/dtd/xhtml1-strict.dtd"> <html> <head> <title>example #1</title> </head> <body> Hello. </body> </html> 10

How to develop html documents Text Editor Any text editor (e.g., wordpad, notepad, pico, etc.) HTML Editors Utilities designed to write HTML Authoring tools Frontpage Good for beginners Dreamweaver Fairly complex but powerful Free (Open Source) Web Authoring tool http://www.nvu.com/ 11

Tags 1. <head> </head> It does not generates displayed contents Contains other tags (e.g., <title> </title> 2. <title> </title> Part of the header It is required Search engines depend on it, so use meaningful titles 12

Frequently Used Tags Heading tags <h1> text </h1> <h2> text </h2> and so on until <h6> text </h6> Higher numbers imply smaller headers Alignment can be controlled by the align attribute which can assume the values left and right Paragraph tag Bold Code Emphasis <p> paragraph </p> Encloses a paragraph Alignment can be controlled by the align attribute which can assume the values left and right <b> text that will appear in bold </b> <code> </code> <em> text here </em> Text usually rendered in italics <strong> text here </strong> Text usually rendered in bold Super/Sub script <sub> text here </sub> <sup> text here </sup> 13

Frequently Used Tags Quotations <q> quote here </q> Line Breaks <br> Verbatim (text displayed exactly as it appears) <pre> text here </pre> Example 2 (htmldoc2.html) 14

Lists Unordered lists <ul> </ul> tags to represent beginning and end <li> </li> to represent elements in the list Example 3 (htmldoc3lists.html) Ordered lists <ol> </ol> tags to mark beginning and end <li> </li> to represent elements in the list Style of numbering dictated by type attribute 1 numbers default A Uppercase letters a Lowercase letters I Uppercase Roman i Lowercase Roman You can change start number by using start attribute Example 3 (htmldoc3lists.html) 15

Lists Definition lists Consist of terms and definitions like in a glossary Tags - <dl> </dl> Terms specified using <dt> </dt> and definitions with <dd> </dd> Example: Nested Lists Lists can be nested as shown by the following Example 4 (htmldoc4deflists.html) 16

Character References Special Characters can be specified by Name specification - &name Numeric specification - &#xxx Commonly used characters Copyright Registered Trademark & & & < < < < > > Non break space 17

Suggestions for Writing HTML Code Add the corresponding end tag immediately Use indentation Have a consistent style Use comments to separate sections of your code. Make sure your code satisfies HTML 4.01 18