Part 1: HTML Language HyperText Make-up Language

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

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

CSC 121 Computers and Scientific Thinking

A Balanced Introduction to Computer Science, 3/E

Html basics Course Outline

Developing a Basic 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

Bok, Jong Soon

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

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

CHAPTER 2 MARKUP LANGUAGES: XHTML 1.0

HTML CS 4640 Programming Languages for Web Applications

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

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

INTRODUCTION TO WEB USING HTML What is HTML?

Objectives. Introduction to HTML. Objectives. Objectives

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

Web Publishing Basics I

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

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

HTML What is HTML Hyper Text Markup Language is a computer based language used to create WebPages.

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

What is a web site? Web editors Introduction to HTML (Hyper Text Markup Language)

Chapter 4. Introduction to XHTML: Part 1

Programmazione Web a.a. 2017/2018 HTML5

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

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

MMGD0204 Web Application Technologies. Chapter 3 HTML - TEXT FORMATTING

What You Will Learn Today

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

Hyper Text Markup Language HTML: A Tutorial

Announcements. Paper due this Wednesday

1.264 Lecture 12. HTML Introduction to FrontPage

11. HTML5 and Future Web Application

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

WTAD Text Editors for HTML. Text Editors: Kate HTML. (HyperText Markup Language)

c122jan2714.notebook January 27, 2014

WTAD. Unit -1 Introduction to HTML (HyperText Markup Language)

Working with HTML. must appear at the very beginning of your webpage. starts the first section of your page

introduction to XHTML

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

Table of Contents. MySource Matrix Content Types Manual

BASICS OF WEB DESIGN CHAPTER 2 HTML BASICS KEY CONCEPTS

Background of HTML and the Internet

DREAMWEAVER QUICK START TABLE OF CONTENT

Web Programming Week 2 Semester Byron Fisher 2018

Tutorial 1: HTML Tutorial (Windows Version) HTML (Hypertext Markup Language) Basics Objectives

HTML Overview. With an emphasis on XHTML

DHANALAKSHMI COLLEGE OF ENGINEERING, CHENNAI

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

CSC Web Programming. Introduction to HTML

HTML TUTORIAL ONE. Understanding What XHTML is Not

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

Chapter 2 Creating and Editing a Web Page

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

Tutorial 2 - HTML basics

Certified HTML5 Developer VS-1029

HTML and CSS COURSE SYLLABUS

COMPUTER APPLICATIONS 10. HTML - Structural Tags SECTION-B

How the Internet Works

Chapter 4 A Hypertext Markup Language Primer

Index. alt, 38, 57 class, 86, 88, 101, 107 href, 24, 51, 57 id, 86 88, 98 overview, 37. src, 37, 57. backend, WordPress, 146, 148

Hyper Text Markup Language

HTML & CSS. SWE 432, Fall 2017 Design and Implementation of Software for the Web

WEBSITE PROJECT 2 PURPOSE: INSTRUCTIONS: REQUIREMENTS:

Chapter 7: The Internet

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

CSE 3. Marking Up with HTML. Comics Updates Shortcut(s)/Tip(s) of the Day Google Earth/Google Maps ssh Anti-Spyware

GIMP WEB 2.0 MENUS. Web 2.0 Menus: Horizontal Navigation Bar with Dynamic Background Image

INTRODUCTION TO HTML5! HTML5 Page Structure!

HTML. Based mostly on

Web Design 101. What is HTML? HTML Tags. Web Browsers. <!DOCTYPE html> <html> <body> <h1>my First Heading</h1> <p>my first paragraph.

Desire2Learn: HTML Basics

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

NEW WEBMASTER HTML & CSS FOR BEGINNERS COURSE SYNOPSIS

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

Advanced Web Programming C2. Basic Web Technologies

Hyper Text Markup Language

A Brief Introduction to HTML

HTTP & Websites. Web Browsers. Web Servers vs. Web sites. World Wide Web. Internet Explorer. Surfing the World Wide Web. Part 4. The World Wide Web

HTML OBJECTIVES WHAT IS HTML? BY FAITH BRENNER AN INTRODUCTION

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

UNIT 2. Creating Web Pages with Links, Images, and Formatted Text

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

5/17/2009. Marking Up with HTML. An HTML Web Page File. Tags for Bold, Italic, and underline. Structuring Documents

Introduction to Web Page Designing Using HTML

CMT111-01/M1: HTML & Dreamweaver. Creating an HTML Document

I-5 Internet Applications

Creating Web Pages. Getting Started

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

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

University of Hawaii at Hilo WEB AND HTML THE INTERNET MAP ( COURTESY OF WIKIMEDIA COMMONS)

The University of Hawaii at Manoa Library Webpage Content/Design/Style Guidelines General Site Design... 2

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

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

Fundamentals: Client/Server

HTML. LBSC 690: Jordan Boyd-Graber. October 1, LBSC 690: Jordan Boyd-Graber () HTML October 1, / 29

ITL Public School Mid Term examination ( )

Course Overview. Week 1

HTML = hyper text markup language

Transcription:

Part 1: HTML Language HyperText Make-up Language 09/08/2010 1

CHAPTER I Introduction about Web Design 2

Internet and World Wide Web The Internet is the world s largest computer network The Internet is referred to as a network of networks The Internet links an uncountable number of nodes involving computers, cell phones, PDAs, MP3 players, by using fiber-optic cables, statellites, phone lines, wireless access point, 3

Internet and World Wide Web The Internet supplies : WWW (or Web) Email, chat, voice File transfer Telnet 4

Internet and World Wide Web Internet protocols TCP IP HTTP FTP SMTP POP3 WAP 5

6 09/08/2010 6

Internet and World Wide Web WWW is an subset in internet that the end user would easily access information sources (text, image, sound, video) without knowing where it located. WWW were developed in 1989 by Timothy Berners-Lee 7

WWW and Hypertext Hypertext is a method of organization in which information is choosen to view by the end user The key of hypertext is the use of links (hyperlinks) The Web is a collection of interconnected documents linked through the use of hypertext 8

WWW and Hypertext 9

Web Pages and Web Servers Each document on the WWW is referred to as a Web page Web pages are stored on Web servers To view a Web page, the end user s device needs a software program called a Web browser 10

Web Pages and Web Servers 11

Web Pages and Web Servers Web page is a text file written in Hypertext Markup Language (HTML) File extension.htm or.html Web site: Collection of logically associated web pages. 12

Web Pages and Web Servers URL(Uniform Resource Locator): specifies a precise location of the Web page www.microsoft.com Absolute URLs point to Web pages on other Web servers Relative URLs point to Web pages on the same Web server 09/08/2010 13

Web Browser Web Browsers :. A client program (software) that is used to display various kinds of Internet resources on the WWW Internet Explorer FireFox Opera Google Chrome Safari. 09/08/2010 14

HTML HTML (HyperText makup Language): The language that browsers use to know how to display the contents of a web page. A markup language is a language that describes the content and structure of a document HTML is not a programming language HTML is not a formatting language 15

HTML The History of HTML HTML 1.0 1989 HTML 2.0 1995 HTML 3.0 1996 HTML 3.2 1997 HTML 4.01 1999 HTML 5.0 XHTML 1.0 2001 XHTML 1.1 2002 XHTML 2.0 XHTML 5.0 16

HTML Web Editor: An Web editor is a software application for creating web pages such as Notepad, FrontPage or Dreamweaver 09/08/2010 17

Creating an HTML Document It is a good idea to plan out a Web page before you start coding. create a sample document using a word processor. Identify a document s different elements and their appearance. 18

19

Making Elements with Tags The tag marks the presence of an element A two-sided tag <element> content </element> or <element attributes > content </element> A one-side tag (empty content) ( to be closed in the start tag) <element /> or <element attributes /> 20

Making Elements with Tags <p> Welcome to Dave s Devil Sticks </p> <a href="http://www.w3schools.com">this is a link</a> <img src="boat.gif" alt="big Boat" /> <br /> <p> Welcome to <b> Dave s Devil Sticks </b> </p> 21

Making Elements with Tags An HTML element starts with a start tag / opening tag An HTML element ends with an end tag / closing tag The element content is everything between the start and the end tag Most HTML elements can have attributes Attributes provide additional information about an element Attributes are always specified in the start tag Some HTML elements have empty content Empty elements are closed in the start tag Nested HTML Elements HTML tags are not case sensitive 22

The Structure of an HTML Document <HTML> <HEAD> <TITLE> Title of Web page</title> </HEAD> <BODY> Content of Web page </BODY> </HTML> 09/08/2010 23

24

BASIC TAGS 25

The Page Title the text that displayed in the browser s title bar. <TITLE> document title </TITLE> 09/08/2010 26

Adding Comments the notes are used to help explain your code and not displayed by the browser <!-- comment --> 27

Working with Block-Level Elements Paragraphs, headings, 28

Working with Block-Level Elements Headings Using for introducing new topics or dividing the page into topical sections Headings are defined with the <h1> to <h6> tags. <h1> This is a heading </h1> <h1 align= center center > This is a heading </h1> Headings Are Important 29

Working with Block-Level Elements Others To mark a Paragraph element, using the <p> tag <p> content </p> To indent a paragraph, using the <blockquote> tag <blockquote> content </blockquote> 30

Working with Block-Level Elements Others Deprecated tags 31

Working with Block-Level Elements The appearance of headings depends on the browse and the device being used The browser ignores the presence of White space (blank spaces, tabs, line breaks) within the HTML text file HTML Line Break : <br /> Blank space : 32

Working with Block-Level Elements Making a List HTML support three kinds of lists: ordered, unordered, and definition <ol> <li>coffee</li> <li>milk</li> </ol> <ul> <li>coffee</li> <li>milk</li> </ul> 33

Working with Block-Level Elements Making a List <dl> <dt>coffee</dt> <dd>- black hot drink</dd> <dt>milk</dt> <dd>- white cold drink</dd> </dl> 34

Working with Block-Level Elements Making a List Nested list <ul> <li>basic Stick</li> <ul> <li> Red </li> <li> Blue </li> <li> Green </li> <li>flower Stick</li> <li>master Stick</li> <li>glow Stick</li> </ul> 35

Working with inline elements An line element marks a section of text within a block-level element, ex. a phrase, a collection of characters within a paragraph. Character Formatting Elements 36

Working with inline elements Character Formatting Elements 37

Working with inline elements Character Formatting Elements 38

Using the Generic Elements div and span An element that without having a specific meaning or purpose called generic element. Browsers do not assign any default format to content marked with those element Web designer usually uses these elements to completely control the appearance of the content through the use of style 39

Using Element Attributes HTML elements can have attributes Attributes provide additional information about an element Attributes are always specified in the start tag Attributes come in name/value pairs like: name="value" 40

Using Element Attributes id attribute <h1 id=mainhead> Dave s Devil Sticks </h1> Style attribute To provide a new and preferred way to style all HTML elements 41

Using Element Attributes 42

Using Element Attributes 43

Working with Empty Elements <br /> tag <hr /> tag <img /> tag <img src= logo.jpg logo.jpg alt= Dave Dave s Devil Sticks /> 44

Working with Character Sets and Special Characters Character Sets An collection of characters and symbols called a character set (according to one language ) ASCII, ISO8859-1, Unicode, UTF-8, Special Characters To display a special character in the web page, using a numeric character reference a character entity reference 45

Working with Character Sets and Special Characters 46 09/08/2010 46

example <P ALIGN = Direction > aaaaaa</p> <HR Align= direction Width= Value Size=value color= #rrggbb > <FONT Face= fontname1, fontname2, fontname3 size= value Color= #rrggbb > 09/08/2010 47

example Attribute for <body> tag BGCOLOR: background color of the page BACKGROUND: background picture for the page TEXT: color of the text on the page LINK: color of links that haven't been followed yet VLINK: color of links that have been followed ALINK: color of links while you are clicking on them TOPMARGIN: size of top and bottom margins LEFTMARGIN: size of left and right margins 09/08/2010 48

example Attribute for <IMG> tag SRC: where to get the picture ALT: text to show if you don't show the picture NAME WIDTH: how wide is the picture HEIGHT: how tall is the picture ALIGN: how text should flow around the picture BORDER: border around the picture HSPACE: horizontal distance between the picture and the text VSPACE: vertical distance between the picture and the text 49

example <BgSound> : <BgSound src= file_music Loop=value> <Marquee></Marquee> : <Marquee direction= value >Object</Marquee> 50