Presenting Information on WWW using HTML. Presenting Information on the Web with HTML How Web sites are organized and implemented A brief introduction.

Slides:



Advertisements
Similar presentations
Anatomy of a Web Page. Parts of a Web Page Title Bar Navigation Tool Bar Location Bar Header Graphic/Image Text Horizontal Rule Links.
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.
HTML popo.
HyperText Markup Language (HTML). Introduction to HTML Hyper Text Markup Language HTML Example The structure of an HTML document Agenda.
CREATED BY : VIRAL M.KORADIYA. Anchor elements are defined by the element. The element accepts several attributes, but either the Name or HREF attribute.
Learning the Basics – Lesson 1
Internet Services and Web Authoring (CSET 226) Lecture # 5 HyperText Markup Language (HTML) 1.
HTML popo.
INTRODUCTION TO HYPERTEXT MARKUP LANGUAGE 1. Outline  Introduction  Markup Languages  Editing HTML  Common Tags  Headers  Text Styling  Linking.
 To publish information for global distribution, one needs a universally understood language, a kind of publishing mother tongue that all computers may.
XP Creating Web Pages with HTML Using Tables. XP Objectives Create a text table Create a table using the,, and tags Create table headers and captions.
Using HTML Tables.
HTML Introduction HTML
Developing a Basic Web Page with HTML
Web Design is a class created to nurture the minds of high school techies, and introduce those without prior knowledge to the field.
HTML: PART ONE. Creating an HTML Document  It is a good idea to plan out a web page before you start coding  Draw a planning sketch or create a sample.
Chapter 14 Introduction to HTML
Designing Web Pages Getting to know HTML... What is HTML? Hyper Text Markup Language HTML is the major language of the Internet’s World Wide Web. Web.
© 2005 ComputerPREP, Inc. All rights reserved. HTML 4.0 and Web Page Design Module I.
Computer Science 101 HTML. World Wide Web Invented by Tim Berners-Lee at CERN, the European Laboratory for Particle Physics in Geneva, Switzerland (roughly.
Unit 1 – Developing a Web Page. Objectives:  Learn the history of the Web and HTML  Describe HTML standards and specifications  Understand HTML elements.
HTML HTML stands for "Hyper Text Mark-up Language“. Technically, HTML is not a programming language, but rather a markup language. Used to create web pages.
WEB DESIGN USING DREAMWEAVER. The World Wide Web –A Web site is a group of related files organized around a common topic –A Web page is a single file.
HTML H yper T ext M arkup L anguage. HTML HTML is NOT case sensitive However, proper coding etiquette if for all to be in ALL CAPS and for text to be.
Chapter 4: Hypertext Markup Language Primer TECH Prof. Jeff Cheng.
Understanding HTML Code
 HTML stands for Hyper Text Mark-up Language. The coding language used to create documents for the World Wide Web  HTML is composed of tags. HTML tags.
1 Basic HTML. 2 Part 1: Basic Web Page Production.
Basic HTML Workshop By: Preeda Chunjongkolkul (Pete) Systems Librarian/Webmaster
Section 4.1 Format HTML tags Identify HTML guidelines Section 4.2 Organize Web site files and folder Use a text editor Use HTML tags and attributes Create.
CPT 123 Internet Skills Class Notes Publishing to the Web Session B.
Just Enough HTML How to Create Basic HTML Documents.
Chapter 8 Introduction to HTML and Applets Fundamentals of Java.
CS105 INTRODUCTION TO COMPUTER CONCEPTS HTML Instructor: Cuong (Charlie) Pham.
1 John Magee 9 November 2012 CS120 Lecture 17: The World Wide Web and HTML Web Publishing.
HTML: Hyptertext Markup Language Doman’s Sections.
1 © Copyright 2000 Ethel Schuster The Web… in 15 minutes Ethel Schuster
College of Micronesia- FSM Pohnpei State Campus GEORGE S. MANGONON, MBA Chair, Math/Sci Division September 15-25, 2008.
4 Chapter Four Introduction to HTML. 4 Chapter Objectives Learn basic HTML commands Discover how to display graphic image objects in Web pages Create.
Introduction to HTML Xiangming Mu 9/23/ Learning Objectives Understand basic HTML tags and their attributes Learn to create a simple HTML page.
Chapter 2 Web Page Design Mr. Gironda. Elements of a Web Page These are things that most web pages use.
College of Micronesia- FSM Pohnpei State Campus GEORGE S. MANGONON, MBA Chair, Math/Sci Division September 15-25, 2008.
HTML BTEC National in Computing Section5. Create Information “HTML: defining HTML, discussing HTML uses and demonstrating HTML basics, HTML structure…..
HTML Basics Computers. What is an HTML file? *HTML is a format that tells a computer how to display a web page. The documents themselves are plain text.
HTML(Hyper Text Markup Language) ByNaveen. Introduction HTML or Hyper Text Markup Language is the standard markup language Its used to create the web.
CSE 409 – Advanced Internet Technology 1 DISCUSSION OF BASIC HTML TAGS.
HTML Basics. HTML Coding HTML Hypertext markup language The code used to create web pages.
Spiderman ©Marvel Comics Creating Web Pages (part 1)
HTML Assoc. Prof. Rozinah Jamaludin 28 January 2010.
HTML CS 105. Page Structure HTML elements control the details of how a page gets displayed. Every HTML document has the following basic structure: … …
Building a Web Page. Create A New Folder  Right click on the desktop and select New / Folder  Name the folder playpen.
Basic HTML Programming Technology Education Ellsworth Community Middle School Communication Systems.
What is HTML? HTML is a language for describing web pages. HTML stands for Hyper Text Markup Language HTML is not a programming language, it is a markup.
Department of Computer Science, Florida State University CGS 3066: Web Programming and Design Spring
`. Lecture Overview HTML Body Elements Linking techniques HyperText references Linking images Linking to locations on a page Linking to a fragment on.
Department of Computer Science, Florida State University CGS 3066: Web Programming and Design Spring
CompSci 1 Lecture 2 HTML Webpages. Today’s Topics Basic HTML The basis for web pages “Almost” programming Upcoming Programming Java Reading Great Ideas.
HTML Tags BTT1O. HTML  Documents written in hypertext markup language can be interpreted by all web browsers.  This language lets the web page developer.
1 HTML. 2 Full forms WWW – world Wide Web HTTP – Hyper Text Transfer Protocol HTML – Hyper Text Markup Language.
1 Foundation of HTML Web Page Design. 2 Safe Web Fonts: Used by most computers regardless of environment or platform  Times New Roman  Arial  Courier.
1 Introduction to HTML. 2 Definitions  W W W – World Wide Web.  HTML – HyperText Markup Language – The Language of Web Pages on the World Wide Web.
Building a Web Page. A Brief History In 1989, Tim Berners-Lee invented the Web. To enable particle physics from around the world to organize and share.
HTML And the Internet. HTML and the Internet ► HTML: HyperText Markup Language  Language in which all pages on the web are written  Not Really a Programming.
Introduction to HTML (Web Design) IT Fundamentals.
CIS101 Introduction to Computing Week 07 Spring 2004.
HTML Basics.
Learning the Basics – Lesson 1
Using HTML Tables SWBAT: - create tables using HTML
Web Design and Development
Presentation transcript:

Presenting Information on WWW using HTML

Presenting Information on the Web with HTML How Web sites are organized and implemented A brief introduction to HTML A Closer Look at HTML Document How to use URLs, Anchor Tags, and Document References Tables, Lists, Forms

The Architecture of Web Sites

Introduction to HTML An HTML document consists of lines of text with embedded markup tags that specify Web-page formatting and links to other pages Invented by Tim Berners-Lee at CERN 1989 – The birth of the World Wide Web

Introduction to HTML In 1993, students, faculty, and staff of the National Center for Supercomputing Applications (NCSA) developed the first graphical browser – Mosaic Web browser and Web server – Became Netscape Current version is HTML (HTML 4.01 – – 10 minutes for new commers:

A Closer Look at HTML Documents HTML documents are structured using tags, attributes, and nesting – Tag with text: text BigHit Video Online Reservation System Enter Video Reservation System – Tag with no text: – Nested tags:

URLs, Anchor Tags, and Document References Protocol Host Machine Name

URLs, Anchor Tags, and Document References URL (Uniform Resource Locator) – A protocol, a mechanism used to fetch the desired object. In this case: http (Hypertext Transfer Protocol). – The host machine, the computer that contains the requested object. In this case, the host computer is Special host name for browser computer: localhost – The object name. In this case, /TR/REC-html40/.

Relative URLs Relative URL contains only object name – Refers to object on the same server as the page with the reference For page URL ml – Base URL is – Protocol http, host machine directory /dbmgmt/bighit/

Relative URLs Relative URL not starting with / – Refers to object relative to directory containing the page – Create full URL by appending relative URL to base URL images/bighit.jpg becomes Relative URL starting with / – Refers to object relative to home directory of server – Create full URL by appending the relative URL to the protocol and host machine /dbmgt/bighit/index.html becomes

Fundamentals of HTML HTML, HEAD, Title, Body Headings and paragraphs Add emphasis to your text Use various kinds of lists Add links to other pages Add images Add links to other pages

and The tag is the first tag in your document. It tells the Internet browser that it is reading an HTML document (without it, the browser would think it was viewing a text document). This is the closing tag for the tag. This should be the last line in your HTML document.

and Used to contain information such as title, style sheets : This is the closing tag.

and – It is used to make the title of the page. The title of the page will appear in the blue bar across the top of your active window Example: Basic HTML

and We put all your text, images, and links between the opening and closing tags.

Headings and paragraphs There are up to six levels of headers that can be used in your document, H1 through H6. Header 1 is the largest header and they get progressively smaller through header 6.

Example This is a header 1 tag This is a header 2 tag

Add emphasis to your text Boldface This is a boldface tag. Italics This is an italic tag.

Lists Numbered list item 1 list item 2 list item 3

Lists Unumbered: list item 1 list item 2 list item 3

Lists Definition lists allow you to indent without necessarily having to use bullets. This is a term This is a definition And yet another definition Another term Another definition

Center You can center text, images, and headings with the center tag: This is a centered sentence The center tag automatically inserts a line break after the closing center tag.

File names Use lowercase file names User proper extension: – *.html or *.htm

Designing a web site Determine the purpose of the web site Determine the target audience Determine numbers of pages Sketch the site on paper

Lesson plan Tables and Links Practice

Presenting Information in HTML Tables Table tags provide the primary method of organizing information on pages – Table tags create a regular, rectangular layout – Table tags present tabular information Table is surrounded by – Attributes border and bgcolor –

Table tags (continue) Row is surrounded by Data cell is surrounded by Table heading is surrounded by Example: Year Sales 2000 $18M 2001 $25M 2002 $36M

Tables (continue)

Cell spading You can increase the amount of padding for all cells using the cellpadding attribute on the table element Year Sales 2000 $18M 2001 $25M 2002 $36M

Table cell spading (continue)

Table width The value is either the width in pixels or a percentage value representing the percentage of the space available between the left and right margins Example: …

Table width (continue)

Text Alignment within Cells Year Sales 2000 $18M 2001 $25M 2002 $36M

Empty cells and Cell span Empty cells: Cell span Year Sales North South Total 2000 $10M $8M $18M 2001 $14M $11M $25M

Cell spans

Coloring your tables Use Style sheet Use background color attribute Determine HEX value for color

Coloring a table Year Sales 2000 $18M 2001 $25M

Color Each color is identified by its  Red- Green- Blue (RGB) values,  three numbers that range from 0 to 255, each of which represents the intensity of the Red, Green, or Blue component of the desired color.  We need to represent each color in hexadecimal (0-F)

Color Example:

Color apcolors.html apcolors.html

Example

Linking Linking to another web page: UW- Milwaukee Computer Science Department

Practice Open TextPad for editor Create a Web page Save as index.html Open IE File -> Open the file

Practice 1. Open TextPad for editor. 2. Cut and paste (or type) the following code Sample HTML file with table

Practice 3. Insert the HTML code so that it: - Display the link to Math and CS department in the center of the page - Then create a table (see picture below)