SAK3002 – IT and Its Applications Chapter 6SAK3002 – Information Technology and Its Application HTML Programming Language 6 6 Chapter.

Slides:



Advertisements
Similar presentations
Introduction to HTML
Advertisements

Computers: Tools for an Information Age Writing Your Own Web Page: Using HTML and Web Authoring Tools.
HTML popo.
HyperText Markup Language (HTML). Introduction to HTML Hyper Text Markup Language HTML Example The structure of an HTML document Agenda.
Internet Services and Web Authoring (CSET 226) Lecture # 5 HyperText Markup Language (HTML) 1.
HTML: HyperText Markup Language Hello World Welcome to the world!
INTRODUCTION TO HYPERTEXT MARKUP LANGUAGE 1. Outline  Introduction  Markup Languages  Editing HTML  Common Tags  Headers  Text Styling  Linking.
Chapter 4 Marking Up With Html: A Hypertext Markup Language Primer.
MR.Mohammed Sharaf al Shareef
 2003 Prentice Hall, Inc. All rights reserved. Chapter 4 - Introduction to XHTML: Part 1 Outline 4.1 Introduction 4.2 Editing XHTML 4.3 First XHTML Example.
XP 1 New Perspectives on Creating Web Pages with HTML Tutorial 1: Developing a Basic Web Page.
Database-Driven Web Sites, Second Edition1 Chapter 2 INTRODUCTION TO HTML.
 2003 Prentice Hall, Inc. All rights reserved. Chapter 4 - Introduction to XHTML: Part 1 Outline 4.1 Introduction 4.2 Editing XHTML 4.3 First XHTML Example.
Developing a Basic Web Page with HTML
Glencoe Digital Communication Tools Create a Web Page with HTML Chapter Contents Lesson 4.1Lesson 4.1 Get Started with HTML (85) Lesson 4.2Lesson 4.2 Format.
HTML BASIC
Chapter 14 Introduction to HTML
WEB DESIGN 1 THEORY : 30 PRACTICE : 60 Lecturer : Phạm Sĩ Quan Phone : Blog:
HTML Tags. Objectives Know the commonly used HTML tags Create a simple webpage using the HTML tags that will be discussed.
CpSc 462/662: Database Management Systems (DBMS) (TEXNH Approach) HTML Basics James Wang.
CS105 Introduction to Computer Concepts HTML
Chapter 4 Fluency with Information Technology L. Snyder Marking Up With HTML: A Hypertext Markup Language Primer.
Copyright © 2008 Pearson Education, Inc. Publishing as Pearson Addison-Wesley Fluency with Information Technology Third Edition by Lawrence Snyder Chapter.
Chapter 2: The Client Side: HTML CIS 275—Web Application Development for Business I.
HTML. What is HTML? HTML is a language for describing web pages. HTML stands for Hyper Text Markup Language HTML is a markup language A markup language.
DAT602 Database Application Development Lecture 14 HTML.
HTML HyperText Markup Language Constantly evolving - extra facilities being added regularly Java applets and JavaScript used to increase functionality.
ACM 511 HTML Week -1 ACM 511 Course Notes. Books ACM 511 Course Notes.
Chapter 4: Hypertext Markup Language Primer TECH Prof. Jeff Cheng.
McGraw-Hill/Irwin Copyright © 2013 by The McGraw-Hill Companies, Inc. All rights reserved. Extended Learning Module F Building a Web Page with HTML.
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.
XP Mohammad Moizuddin Creating Web Pages with HTML Tutorial 1 1 New Perspectives on Creating Web Pages With HTML Tutorial 1: Developing a Basic Web Page.
HTML 4 Foundation Level Course HyperText Markup Language Most common language used in creating Web documents. You can use HTML to create cross-platform.
 2008 Pearson Education, Inc. All rights reserved Introduction to XHTML.
What is Markup and Markup Languages? What is HTML? A Basic HTML Document Basic HTML Tags Tag Attributes and Text Formatting Tags Insert Hyperlinks Add.
CS105 INTRODUCTION TO COMPUTER CONCEPTS HTML Instructor: Cuong (Charlie) Pham.
HTML: Hyptertext Markup Language Doman’s Sections.
Organization Components (Lists, Table & Frame) Wah Yan College (Hong Kong) Mr. Li. C.P.
4 Chapter Four Introduction to HTML. 4 Chapter Objectives Learn basic HTML commands Discover how to display graphic image objects in Web pages Create.
Ali Alshowaish. What is HTML? HTML stands for Hyper Text Markup Language Specifically created to make World Wide Web pages Web authoring software language.
Introduction to HTML Xiangming Mu 9/23/ Learning Objectives Understand basic HTML tags and their attributes Learn to create a simple HTML page.
LEARNING HTML PowerPoint #1 Cyrus Saadat, Webmaster.
Chapter 2 Designing Web Pages With HTML JavaMethods An Introduction to Object-Oriented Programming Maria Litvin Gary Litvin Copyright © 2003 by Maria Litvin,
CSE 409 – Advanced Internet Technology 1 DISCUSSION OF BASIC HTML TAGS.
COMP303 - Internet Based Programming
HTML Basics. HTML Coding HTML Hypertext markup language The code used to create web pages.
WEEK -1 ACM 262 ACM 262 Course Notes. HTML What is HTML? HTML is a language for describing web pages. HTML stands for Hyper Text Markup Language HTML.
HTML HYPER TEXT MARKUP LANGUAGE. INTRODUCTION Normal text” surrounded by bracketed tags that tell browsers how to display web pages Pages end with “.htm”
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.
Writing Your Own Web Page: Using HTML and FrontPage Chapter 10.
Department of Computer Science, Florida State University CGS 3066: Web Programming and Design Spring
HTML. INDEX Introduction to HTML Creating Web Pages Commands And Tags Web Page.
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.
CITE303 - Internet Based Programming Lecture notes: Week 1 Instructor:Dr. Tolgay KARANFİLLER.
HTML for web designing short course. What is an HTML File? HTML stands for Hyper Text Markup Language An HTML file must have an htm or html file extension.
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.
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 Basics.
Section 4.1 Section 4.2 Format HTML tags Identify HTML guidelines
Marking Up with XHTML Tags describe how a web page should look
HTML Programming Language
Chapter 4 - Introduction to XHTML: Part 1
Marking Up with XHTML Tags describe how a web page should look
Marking Up with XHTML Tags describe how a web page should look
Introduction to HTML- Basics
Marking Up with XHTML Tags describe how a web page should look
Marking Up with XHTML Tags describe how a web page should look
Marking Up with XHTML Tags describe how a web page should look
Presentation transcript:

SAK3002 – IT and Its Applications Chapter 6SAK3002 – Information Technology and Its Application HTML Programming Language 6 6 Chapter

SAK3002 – IT and Its Applications Chapter 6SAK3002 – Information Technology and Its Application Objectives of this chapter: understand HTML create basic Web site You can…

SAK3002 – IT and Its Applications Chapter 6SAK3002 – Information Technology and Its Application Overview  This chapter covers Introduction Web page Development

SAK3002 – IT and Its Applications Chapter 6SAK3002 – Information Technology and Its Application 6.1 Introduction

SAK3002 – IT and Its Applications Chapter 6SAK3002 – Information Technology and Its Application Introduction What is HTML?  HyperText Markup Language  It provides a means to describe the structure of text-based information in a document—by denoting certain text as links, headings, paragraphs, lists, and so on—and to supplement that text with interactive forms, embedded images, and other objects [wikipedia].

SAK3002 – IT and Its Applications Chapter 6SAK3002 – Information Technology and Its Application Introduction (cont’d) HTML Version Timeline 1995 HTML HTML HTML HTML 4.01

SAK3002 – IT and Its Applications Chapter 6SAK3002 – Information Technology and Its Application Introduction (cont’d) Web page authoring software  Creates sophisticated Web pages without need to type/edit HTML  It generates HTML automatically  Examples:  Dreamweaver  Flash  Microsoft Frontpage  Expression Web  Silverlight HTML Editor  HTML documents are plain-text files that can be created using any text editor  Example:  Netscape Composer  Notepad, word.

SAK3002 – IT and Its Applications Chapter 6SAK3002 – Information Technology and Its Application Web Page Development How are special effects and interactive elements added to a Web page? Counter Counter tracks number of visitors to Web site Image map Image map graphic image that points to URL Script Script interpreted program that runs on client Applet Applet usually runs on client, but is compiled Processing form Processing form collects data from visitors to Web site Servlet Servlet applet that runs on server ActiveX control ActiveX control small program that runs on client

SAK3002 – IT and Its Applications Chapter 6SAK3002 – Information Technology and Its Application Introduction (cont’d) Some scripting language :  JavaScript  Perl (Practical Extraction and Report Language)  PHP (PHP: Hypertext Preprocessor)  Rexx (Restructured eXtended eXecutor)  TCL (Tool Command Language)  VBScript (Visual Basic, Scripting Edition)

SAK3002 – IT and Its Applications Chapter 6SAK3002 – Information Technology and Its Application Introduction (cont’d) What are XHTML, XML, and WML? XHTML XHTML (Extensible HTML) enables Web sites to be displayed more easily on microbrowsers XML XML (Extensible Markup Language) allows developers to create customized tags WML WML (Wireless Markup Language) allows developers to design pages specifically for microbrowsers Includes features of HTML and XML Many Internet-enabled smart phones and PDAs use WML as their markup language Server sends entire record to client, enabling client to do much of processing without going back to server Microbrowser - is a web browser designed for use on a mobile device such as a mobile phone or PDA.

SAK3002 – IT and Its Applications Chapter 6SAK3002 – Information Technology and Its Application 6.2 Web page Development

SAK3002 – IT and Its Applications Chapter 6SAK3002 – Information Technology and Its Application Web page Development  HTML is composed of tags  Tags - tells browser how to display the information provided  HTML tags are always enclosed in angle- brackets ( ) and are case-insensitive  Generally used in pairs Open tag Closing tag – same tag with / in front Example:...

SAK3002 – IT and Its Applications Chapter 6SAK3002 – Information Technology and Its Application Web page Development (cont’d)  Basic tags If you view this from the browser, you will see a blank page.

SAK3002 – IT and Its Applications Chapter 6SAK3002 – Information Technology and Its Application Web page Development (cont’d)  HTML Header and Paragraph  See the output of this HTMLoutput Heading 1 Heading 2 Heading 3 Heading 4 Heading 5 Heading 6 This is a paragraph This is another paragraph The text between this tag is displayed as a heading. HTML has six levels of headings, through with 1 being the largest The text between this tag is displayed as a paragraph

SAK3002 – IT and Its Applications Chapter 6SAK3002 – Information Technology and Its Application  HTML Document – linking Hyperlink - browser highlights the identified text or image with color and/or underlines to indicate that it is a hypertext link Relative linking - the path to the linked file relative to the location of the current file. Click Page 1 Absolute linking - linking to documents that are not directly related FSKTM Web page Development (cont’d)

SAK3002 – IT and Its Applications Chapter 6SAK3002 – Information Technology and Its Application Web page Development (cont’d) HTML Links  HTML links are defined with the tag.  Example:  See the outputoutput  Add target=“_blank” to open link in new window Example: UPM Universiti Putra Malaysia (UPM) UPM is a Malaysia’s leading research intensive public university Click here to know more about UPM Target page Clickable text

SAK3002 – IT and Its Applications Chapter 6SAK3002 – Information Technology and Its Application Web page Development (cont’d)  Create a mailto link send electronic mail to a specific person or mail alias by including the mailto attribute in a hyperlink will only work if you have mail installed See outputoutput This is a mail link: Send Mail

SAK3002 – IT and Its Applications Chapter 6SAK3002 – Information Technology and Its Application Web page Development (cont’d)  HTML Images HTML images are defined with the tag. See the output of this HTMLoutput Universiti Putra Malaysia (UPM) UPM is a Malaysia’s leading research intensive public university Click here to know more about UPM Image source

SAK3002 – IT and Its Applications Chapter 6SAK3002 – Information Technology and Its Application GIF  Graphics Interchange Format  Use for graphics JPG  Joint Photographic Experts Group  Use for photographs PNG  Portable Network Graphics  Expected to replace GIF Web page Development (cont’d)

SAK3002 – IT and Its Applications Chapter 6SAK3002 – Information Technology and Its Application Web page Development (cont’d)  An image as a link This example demonstrates how to use an image as a link. See outputoutput Click on the banner to go to UPM’s portal

SAK3002 – IT and Its Applications Chapter 6SAK3002 – Information Technology and Its Application Web page Development (cont’d)  HTML Text Formatting tag  See outputoutput TagDESCRIPTION Defines bold text Defines big text Defines emphasized text Defines italic text Defines small text Defines strong text Defines subscripted text Defines superscripted text Defines inserted text Defines deleted text Deprecated. Use instead Deprecated. Use instead Deprecated. Use styles instead This text is bold This text is strong This text is big This text is emphasized This text is italic This text is small This is subscript and superscript

SAK3002 – IT and Its Applications Chapter 6SAK3002 – Information Technology and Its Application Web page Development (cont’d)  HTML Style Attribute The purpose of the style attribute is to provide a common way to style all HTML elements. HTML Style Examples:  style="background-color:yellow"  style="font-size:10px"  style="font-family:Times"  style="text-align:center“ See outputoutput Look! Styles and colors This text is in Verdana and red This text is in Times and green This text is 30 pixels high This is the new style attributes. The obsolete old style was:

SAK3002 – IT and Its Applications Chapter 6SAK3002 – Information Technology and Its Application Web page Development (cont’d)  Table Tables are defined with the tag. divided into rows (with the tag), and each row is divided into data cells (with the tag). The letters td stands for "table data" which is the content of a data cell. A data cell can contain text, images, lists, paragraphs, forms, horizontal rules, tables, etc.

SAK3002 – IT and Its Applications Chapter 6SAK3002 – Information Technology and Its Application  Tables Tags... - define table in HTML... - specifies a table row within a table... - defines a table header cell... - defines a table data cell Web page Development (cont’d)

SAK3002 – IT and Its Applications Chapter 6SAK3002 – Information Technology and Its Application Web page Development (cont’d)  Table demonstration One row and One Column See outputoutput one Row One column: 1,1

SAK3002 – IT and Its Applications Chapter 6SAK3002 – Information Technology and Its Application Web page Development (cont’d) One Row Two Column See outputoutput One Row and Two Columns 1,1 1,2

SAK3002 – IT and Its Applications Chapter 6SAK3002 – Information Technology and Its Application Web page Development (cont’d) Two Row and Two Column See outputoutput Two Rows and Two Columns: 1,1 1,2 2,1 2,2

SAK3002 – IT and Its Applications Chapter 6SAK3002 – Information Technology and Its Application  Tables – more properties BORDER = X - add borders to the table WIDTH=x, HEIGHT=x, - control the size of the table ALIGN=left or center or right - align a table/data to the left,center or right CELLSPACING-the width of the spacing between cell and along edges of cells. CELLPADDING-amount of space inserted btw cell content and the inner edge of a cell Web page Development (cont’d)

SAK3002 – IT and Its Applications Chapter 6SAK3002 – Information Technology and Its Application Web page Development (cont’d)  HTML List HTML supports unordered, ordered and definition lists Unordered List  marked with bullets (typically small black circles).  starts with the tag.  each list item starts with the tag Ordered Lists  marked with numbers.  starts with the tag  each list item starts with the tag Definition List  It is a list of items (terms), with a description of each item (term).  starts with a tag (definition list).  each term starts with a tag (definition term).  each description starts with a tag (definition description).

SAK3002 – IT and Its Applications Chapter 6SAK3002 – Information Technology and Its Application Web page Development (cont’d)  Demonstration of Unordered list  See outputoutput An Unordered List: Coffee Tea Milk

SAK3002 – IT and Its Applications Chapter 6SAK3002 – Information Technology and Its Application Web page Development (cont’d)  Demonstration of Ordered list  See outputoutput An ordered List: Coffee Tea Milk

SAK3002 – IT and Its Applications Chapter 6SAK3002 – Information Technology and Its Application Web page Development (cont’d)  Demonstration of Definition list  See outputoutput A Definition List: Coffee Black hot drink Milk White cold drink

SAK3002 – IT and Its Applications Chapter 6SAK3002 – Information Technology and Its Application End of Chapter 6