HTML Revisited. Learning Goals for Today 1.To develop your personal Web page 2.To upload your Web page to UMT’s Web server so that it becomes visible.

Slides:



Advertisements
Similar presentations
VU.
Advertisements

1 CS101 Introduction to Computing Lecture 9 HTML Lists & Tables (Web Development Lecture 3)
Hyper Text Markup Language Developing & Hosting a Web page Lecture 21.
Chapter 4 – Intermediate HTML 4 Outline 4.1 Unordered Lists 4.2 Nested and Ordered Lists 4.3 Basic HTML Tables 4.4 Intermediate HTML Tables and Formatting.
XHTML1 Tables and Lists. XHTML2 Objectives In this chapter, you will: Create basic tables Structure tables Format tables Create lists.
 2008 Pearson Education, Inc. All rights reserved. 1 Introduction to HTML.
Introduction to HTML II Shih-Heng Chin. Preface Structure of a HTML File Elements used frequently Tables.
HTML Introduction HTML
HTML. Goals How to use the Komodo editor HTML coding and testing Basic HTML tags List and Images Tables and Links At least 2 pages and navigation
HTML. Creating a Table Attributes: border: indicates the border type of the table Value: 0 (no border), 1, 2, etc. cols: indicates the number of columns.
Images and Tables. Displaying Image Attributes: SRC= " mypic.gif " – Name of the picture file SRC= " pic/mygif.jpg " – Name of file found in pic directory.
Notes Ch. 12—Creating Tables Web Page Design. Why Use Tables? Tables are used to create a variety of items such as calendars, charts, and spreadsheets.
INTRODUCTION TO WEB DEVELOPMENT AND HTML Lecture 06: Tables - Spring 2011.
HTML Essentials Tables and Table Tags. Overview Use of Tables goes beyond tabulating data Frequently used to format Web pages / control layout Especially.
Introduction to Computing Lecture 6 Introduction to HTML (Web Development Lecture 1)
Lesson 6. Links in HTML Computer Science Welcome to Virtual University in Pakistanhttp://
HTML. Goals How to use the Komodo editor HTML coding and testing – List and Images – Tables and Links – At least 2 pages and navigation –
Identifies the Structure Table Row Column 1 Table Heading Column 2.
CS105 Introduction to Computer Concepts HTML
HTML Comprehensive Concepts and Techniques Second Edition Project 3 Creating Tables in a Web Site.
Internet Skills An Introduction to HTML Alan Noble Room 504 Tel: (44562 internal)
Amber Annett David Bell October 13 th, What will happen What is this business about personal web pages? Designated location of your own web page.
225 City Avenue, Suite 106 Bala Cynwyd, PA , phone , fax presents… HTML Lists, Tables and Forms v2.0.
Dr. Nuha El-KhaliliInternet Programming ( ) HTML Hyper Text Markup Language The language of web pages Maintained by the W3C
Chapter 4: Hypertext Markup Language Primer TECH Prof. Jeff Cheng.
HTML Overview Part 4 – Tables 1. HTML Tables  Tables are defined with the tag pair.  A table is divided into rows with tag pairs. o tr stands for "table.
Understanding HTML Code
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.
OBJECTIVES  What is HTML  What tools are needed  Creating a Web drive on campus (done only once)  HTML file layout  Some HTML tags  Creating and.
Getting Started with HTML Please use speaker notes for additional information!
Introduction to HTML. What is a HTML File?  HTML stands for Hyper Text Markup Language  An HTML file is a text file containing small markup tags  The.
Computer Information Technology – Section 3-4. HTML – The Language of the Internet Objectives: The Student will: 1. Look at HTML 2. Understand the basic.
1 Web Developer & Design Foundations with XHTML Chapter 3 Key Concepts.
CS105 INTRODUCTION TO COMPUTER CONCEPTS HTML Instructor: Cuong (Charlie) Pham.
CS101 Introduction to Computing Lecture 9 Introduction to HTML (Web Development Lecture 2)
XHTML1-1 Extensible HyperText Markup Language (XHTML) Part 2 Xingquan (Hill) Zhu
4 Chapter Four Introduction to HTML. 4 Chapter Objectives Learn basic HTML commands Discover how to display graphic image objects in Web pages Create.
LEARNING HTML PowerPoint #1 Cyrus Saadat, Webmaster.
CS101 Introduction to Computing Lecture HTML Lists and Tables (Web Development Lecture 3)
Unit 4 Create and Use Tables. TITLE CORNELL NOTES TOPIC: NOTES: Name: Date: 09/08/2009 Period : Summary: Reasons for using tables Unit 4 Page 1 Display.
HTML(Hyper Text Markup Language) ByNaveen. Introduction HTML or Hyper Text Markup Language is the standard markup language Its used to create the web.
HTML Concepts and Techniques Fifth Edition Chapter 4 Creating Tables in a Web Site.
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.
1 Lecture 12 Lecture 12 Basic HTML ITEC 1000 “Introduction to Information Technology”
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.
`. Lecture Overview HTML Body Elements Linking techniques HyperText references Linking images Linking to locations on a page Linking to a fragment on.
1999, COMPUTER SCIENCE, BUU Introduction to HTML Seree Chinodom
©SoftMoore ConsultingSlide 1 Introduction to HTML: Block-Level Elements.
HTML. INDEX Introduction to HTML Creating Web Pages Commands And Tags Web Page.
INT222 – Internet Fundamentals
Chapter 4 HTML Tags. HTML is written in something called tags. Tags come in pairs, an opening one and a closing one. The first pair of tags we'll write.
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.
1 R3 R1 R5 R4 R6 R2 B B A A Looking at the Code Under the View menu Select Source.
HTML AN INTRODUCTION TO WEB PAGE PROGRAMMING. INTRODUCTION TO HTML With HTML you can create your own Web site. HTML stands for Hyper Text Markup Language.
HTML Help book. HTML HTML is the programming language used to make web pages for the Internet. HTML stands for Hyper Text Markup Language. HTML is made.
Glencoe Introduction to Web Design Chapter 4 XHTML Basics 1 Review Do you remember the vocabulary terms from this chapter? Use the following slides to.
HTML Hyper Text Markup Language. What is HTML HTML stands for the Hyper Text Markup Language. HTML stands for the Hyper Text Markup Language. HTML is.
Introduction to HTML.
HTML Basics.
Working with Tables: Module A: Table Basics
Elements of HTML Web Design – Sec 3-2
Web Engineering Hyperlinks, Tables, Frames Lecture 04
Web Design and Development
Introduction to HTML.
Single Tags <tagName> Example: <BR>
Presentation transcript:

HTML Revisited

Learning Goals for Today 1.To develop your personal Web page 2.To upload your Web page to UMT’s Web server so that it becomes visible on the Internet as where xxxxxxxxx is your user ID

But first … How to develop personal Web page and make it available over the Internet through the URL

Requirements Text Editor Browser Server

link URL page title

HTML Hyper Text Markup Language

Tags HTML consists of sets of commands called Tags Tags tell browser how to display information. Tags come in pairs Tags are not case sensitive Document Tags Text Structure Tags

Imran Hussain's Home Page Imran Hussain Assistant Professor IMT 52-L Gulberg III, Lahore, Pakistan I teach the Introduction to Computing course. HTML Code

Imran Hussain's Home Page Imran Hussain Assistant Professor IMT 52-L Gulberg III, Lahore, Pakistan I teach the Introduction to Computing course. HTML Code The ones in yellow, i.e.,,,,, are the six essential HTML tags, required in all Web pages

Imran Hussain's Home Page Imran Hussain Assistant Professor IMT 52-L Gulberg III, Lahore, Pakistan I teach the Introduction to Computing course. HTML Code

Imran Hussain's Home Page Imran Hussain Assistant Professor IMT 52-L Gulberg III, Lahore, Pakistan I teach the Introduction to Computing course.

HTML Code Imran Hussain's Home Page Imran Hussain Assistant Professor IMT 52-L Gulberg III, Lahore, Pakistan I teach the Introduction to Computing course.

HTML Code Imran Hussain's Home Page Imran Hussain Assistant Professor IMT 52-L Gulberg III, Lahore, Pakistan I teach the Introduction to Computing course. Link Label Link Descriptio n

HTML Code Imran Hussain's Home Page Imran Hussain Assistant Professor IMT 52-L Gulberg III, Lahore, Pakistan I teach the Introduction to Computing course.

HTML Code Imran Hussain's Home Page Imran Hussain Assistant Professor IMT 52-L Gulberg III, Lahore, Pakistan I teach the Introduction to Computing course.

HTML Code Imran Hussain's Home Page Imran Hussain Assistant Professor IMT 52-L Gulberg III, Lahore, Pakistan I teach the Introduction to Computing course.

HTML Code Imran Hussain's Home Page Imran Hussain Assistant Professor IMT 52-L Gulberg III, Lahore, Pakistan I teach the Introduction to Computing course.

This HTML document was developed in a plain-text editor called notepad

After typing the code into notepad, I saved it as index.htm To check if I have done everything right, I double clicked on icon of the saved file index.htm Double clicking on the icon launched the Web browser displaying my index.htm

My Web page is done!

Problem! My Web page is visible only on my computer. It would be nice if it was also visible on the computers of all my friends and relatives as well.

Solution! I need to upload my Web page to a Web server that is connected to the Internet As a result, my Web page will become accessible to anyone with a computer hooked up to the Internet

Upload Process I used ftp to upload my Web page to the IMT Web server

My Web page is now accessible from all of the millions of computers connected to the Internet

Developing Your Own Web Page Step 1 Open notepad, type in the HTML code, and save it as index.htm on your PC’s Desktop

Developing Your Own Web Page Step 2 Log on to the UMT Web server and upload that index.htm from your PC’s Desktop to your account on that Web server

That is it! Your Web page is now accessible on the Internet through the URL: where xxxxxxxxx is your user ID

HTML tags that go in the HEAD portion of a Web page

HTML tags that go in the BODY portion of a Web page

… Paragraph

Line break

… Bold text

label Anchor (Anchors are used to embed links in a Web page)

label –Displays the Web page specified by the link –example: “ mailto: –Sends an to the specified address –example:

label label can be any text string

HTML Code I am at the IMT. You can send me an by clicking here. Browser Display I am at the IMT. You can send me an by clicking here.

Single Tags with Attributes Example:

Paired Tags … Example: …

Paired Tags with Attributes … Example: …

HTML Code SimCity Quake Bridge SimCity Quake Bridge Browser Display

Un-ordered List Line Item

The default “bullet” for these lists is a “disc” That, however, can be changed to a “circle” or a “square” with the help of the type attribute

HTML Code SimCity Quake Bridge SimCity Quake Bridge Browser Display

type = “square”

Q: What happens if I start a new list without closing the original one? SimCity Quake II SimCity 3000 Quake III Bridge

SimCity Quake II SimCity 3000 Quake III Bridge Browser Display 1.Different bullets 2.Additional tab

Such structures, i.e., those in which a new one starts before the first list is finished, are called Nested Lists

Types of Lists In addition to un-ordered lists, HTML supports two other types –Ordered Lists –Definition List

Ordered List SimCity Quake Bridge 1.SimCity 2.Quake 3.Bridge Browser Display Numbers instead of discs, circles or squares OL instead of UL

Ordered List SimCity Quake Bridge a.SimCity b.Quake c.Bridge Browser Display

Ordered List Types typeResult “A”A, B, C, … “a”a, b, c, … “I”I, II, III, IV, … “i”i, ii, iii, iv, … “1”1, 2, 3, …

Q: How would one start an ordered list with a number other than SimCity 26. Quake 27. Bridge Browser Display

Ordered List SimCity Quake Bridge 25. SimCity 26. Quake 27. Bridge Browser Display

Definition List SimCity A great simulation game in which one build cities Quake One of the best of the shoot- em-up genre SimCity A great simulation game in which one build cities Quake One of the best of the shoot-em-up genre Browser Display Term Definition

Definition List Term Definition

Ordered lists as well as definition lists can be nested just like the un- ordered lists Can any type of list be nested into any other type?

Lists are one way of presenting data in a an ordered or formal fashion Tables provide another - more customizable - way of displaying ordered information on Web pages

Browser Display IndoorOutdoor SquashCricket

HTML Code Indoor Outdoor Squash Cricket Browser Display IndoorOutdoor SquashCricket

Table (made up of rows) Row (made up of data cells) Heading Data Cell (Can contain paragraphs, images, lists, forms, tables) Data Cell (Can contain paragraphs, images, lists, forms, tables)

Attributes BORDER –Determines the thickness of the table border –Example: CELLPADING –Determines the distance between the border of a cell and the contents of the cell –Example: CELLSPACING –Determines the empty spacing between the borders of two adjacent cells –Example:

HTML Code Indoor Outdoor Squash Cricket Browser Display IndoorOutdoor SquashCricket

HTML Code Indoor Outdoor Squash Cricket Browser Display IndoorOutdoor SquashCricket

,,, Attributes ALIGN –Possible values: Center, Left, Right –Example: BGCOLOR –Example: WIDTH –Example: HEIGHT –Example: 40% of the window width

Attributes VLAIGN –Determines the vertical alignment of the contents of all of the cells in a particular row –Possible values: Top, Middle, Bottom –Example:

& Attributes NOWRAP –Extend the width of a cell, if necessary, to fit the contents of the cell in a single line –Example: ROWSPAN –No. of rows the current cell should extend itself downward –Example: COLSPAN –The number of columns the current cell should extend itself –Example: VALIGN –Same as that for

HTML Code Indoor Outdoor Squash Cricket Browser Display Indoor Outdoor SquashCricket

YearQuarter ExpensesIncome QuettaDubaiQuettaDubai ,9008,6509,0007,780 22,2308,6508,5008,670 34,0008,6509,9009,870 42,2008,6509,8009, ,7808,6507,7809,000 28,6708,6508,6708,500 39,8708,6509,8709, ,6509,9009,800

HTML Code My favorite sports Squash Cricket Browser Display SquashCricket My favorite sports Caption must be placed immediately after the tag

What have we learned today? 1.We now know how Web pages are built using HTML 2.We also know how to make our personal Web pages available to everyone on the Internet

Useful URL HTML for the Conceptually Challenged