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.

Slides:



Advertisements
Similar presentations
Introduction to Web Design Lecture number:. Todays Aim: Introduction to Web-designing and how its done. Modelling websites in HTML.
Advertisements

Farhan Nisar University of Peshawar
Introduction to HTML
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.
Internet Services and Web Authoring (CSET 226) Lecture # 5 HyperText Markup Language (HTML) 1.
Learning HTML Internet and Web Application Development SWE 444 Dr. Ahmed Youssef.
HTML popo.
Presenter: James Huang Date: Sept. 26,  Introduction  Basics  Lists  Links  Forms  CSS 2.
INTRODUCTION TO HYPERTEXT MARKUP LANGUAGE 1. Outline  Introduction  Markup Languages  Editing HTML  Common Tags  Headers  Text Styling  Linking.
Images, Tables, lists, blocks, layout, forms, iframes
MR.Mohammed Sharaf al Shareef
 2008 Pearson Education, Inc. All rights reserved. 1 Introduction to HTML.
HTML in Brief ASP.NET. HTML Hypertext Markup Language Markup languages contain instructions and data in the same file … – Unlike procedural languages,
HTML 2. What is an HTML File? HTML stands for Hyper Text Markup Language An HTML file must have an htm or html file extension  With newer software it.
HTML Tags. Objectives Know the commonly used HTML tags Create a simple webpage using the HTML tags that will be discussed.
Module 5 HTML: An Introduction. ●A language to describe and create web pages. ●Stands for: Hyper Text Markup Language What is HTML?
CS105 Introduction to Computer Concepts HTML
HTML Web Programming.
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 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.
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.
ACM 511 HTML Week -1 ACM 511 Course Notes. Books ACM 511 Course Notes.
Dr. Nuha El-KhaliliInternet Programming ( ) HTML Hyper Text Markup Language The language of web pages Maintained by the W3C
 2008 Pearson Education, Inc. All rights reserved Introduction to XHTML Pt. 2.
 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.
HTML Introduction to HTML Tags. HTML Document My first HTML document Hello world!
HTML Hyper Text Markup Language It is used for describing web documents or web pages. A markup language is set of markup tags. HTML documents are described.
HTML. Basic HTML HTML document – HTML headings – to HTML paragraphs – HTML links – HTML images –
1 CSC 121 Computers and Scientific Thinking David Reed Creighton University HTML and Web Pages.
1 HTML محمد احمدی نیا 2 Of 43 What is HTML?  HTML stands for Hyper Text Markup Language  HTML is not a programming language, it.
CHAPTER 1 HTML & HTML5 I อ. ยืนยง กันทะเนตร คณะเทคโนโลยีสารสนเทศและการสื่อสาร มหาวิทยาลัยพะเยา 1.
Programming in HTML.  Programming Language  Used to design/create web pages  Hyper Text Markup Language  Markup Language  Series of Markup tags 
 2008 Pearson Education, Inc. All rights reserved Introduction to XHTML.
INTRODUCTION. What is HTML? HTML is a language for describing web pages. HTML stands for Hyper Text Markup Language HTML is not a programming language,
CS105 INTRODUCTION TO COMPUTER CONCEPTS HTML Instructor: Cuong (Charlie) Pham.
 2008 Pearson Education, Inc. All rights reserved Introduction to XHTML.
Introduction HTML (Hypertext Markup Language) is used to create document on the World Wide Web. HTML is not a programming language, it is a markup language.
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.
Chapter 2 Web Page Design Mr. Gironda. Elements of a Web Page These are things that most web pages use.
HTML HyperText Markup Language ©Richard L. Goldman July 15, 2003.
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 Basic. 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.
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.
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 CS 105. Page Structure HTML elements control the details of how a page gets displayed. Every HTML document has the following basic structure: … …
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.
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.
HTML. INDEX Introduction to HTML Creating Web Pages Commands And Tags Web Page.
1 HTML. 2 Full forms WWW – world Wide Web HTTP – Hyper Text Transfer Protocol HTML – Hyper Text Markup Language.
HTML Tutorial. What is HTML HTML is a markup language for describing web documents (web pages) HTML documents are described by HTML tags Each HTML tag.
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.
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.
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.
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 HyperText Markup Language. 1.Introduction  HTML is used to describe web pages.  HTML stands for Hyper Text Markup Language.  Tim Berners-Lee and.
HTML Basics.
4 Introduction to XHTML.
Elements of HTML Web Design – Sec 3-2
Computers and Scientific Thinking David Reed, Creighton University
Web Design and Development
1 Introduction to XHTML.
Html.
Introduction to HTML.
Presentation transcript:

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 is derived from a language SGML (Standard Generalized Markup Language).  The future of HTML is XML (eXtended Markup Language).

INTRODUCTION TO HTML  HTML is not a programming language, it is a Markup Language.  A markup language is a set of markup tags.  HTML uses markup tags to describe web pages.  HTML is not case sensitive language.  HTML documents contain HTML tags and plain text.

HTML Elements and Tags  A tag is always enclosed in angle bracket <>like  HTML tags normally come in pairs like and i.e. Start tag = End tag =  Start and end tags are also called opening tags and closing tags

HOW TO START?  Write html code in notepad.  Save the file with (.Html)/(.Htm) extension.  View the page in any web browser viz. IE, Mozilla Firefox, Google Chrome etc.  The purpose of a web browser (like internet explorer or firefox) is to read html documents and display them as web pages.

Code With HTML MY FIRST PAGE GLOBAL INFORMATION CHANNEL

Explain these tags  - Begins your HTML document. Describe HTML web page that is to be viewed by a web browser.  - Closes the tag.  - Contains information about the page such as the TITLE, META tags for proper Search Engine indexing, STYLE tags, which determine the page layout, and JavaScript coding for special effects. This defines the header section of the page.  - Closes the HTML tag.

Explain these tags  - The TITLE of your page. This will be visible in the title bar of the viewers’ browser. This shows a caption in the title bar of the page.  - Closes the HTML tag.  - This is where you will begin writing your document and placing your HTML codes. This tag show contents of the web page will be displayed.  - Closes the HTML tag

Types of HTML Tags There are two different types of tags:-> Container Element:-> Container Tags contains start tag & end tag i.e. … Empty Element:-> Empty Tags contains start tag i.e.

Text Formatting Tags Heading Element:->  There are six heading elements (,,,,, ).  All the six heading elements are container tag and requires a closing tag.  will print the largest heading  will print the smallest heading

Heading Tag Code Heading Hello World

HTML Paragraph Tag  HTML documents are divided into paragraphs.  Paragraphs are defined with the tag i.e. This is a paragraph This is another paragraph This text is preformatted

Line Break & Horizontal Line Tag  if you want a line break or a new line without starting a new paragraph Use the tag.  Defines a horizontal line use tag.  element are empty HTML element i.e. Global Information Channel Global Information Channel

Text Formatting Tags 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 Defines teletype text Defines underline text Defines strike text

Text Formatting Code Text Formatting This text is Bold This text is Emphasized This text is Italic This text is Small This is Subscript and Superscript This text is Strong This text is Big This text is Underline This text is Strike This text is Teletype

Result of Text Formatting Code

Font Tag  This element is used to format the size, typeface and color of the enclosed text.  The commonly used fonts for web pages are Arial, Comic Sans MS, Lucida Sans Unicode, Arial Black, Courier New, Times New Roman, Arial Narrow, Impact, Verdana.  The size attribute in font tag takes values from 1 to 7.

Font Tag Code fonts Type your name

Background & Text Color Tag  The attribute bgcolor is used for changing the back ground color of the page.  Text is use to change the color of the enclosed text.

Text Alignment Tag  It is use to alignment of the text. 1.Left alignment 2.Right alignment 3.Center alignment

Pre-formatting text Tag Preserves white space entered into the source code itemSpecificationManufacturer CPUPentium-IIIIntel Disk40 GBSeagate MonitorSVGASamsung PrinterLaserJetHP

HTML symbols ResultDescriptionEntity NameEntity Number ∀ for all∀∀ ∃ exists&exists;∃ ∅ empty∅∅ ∈ isin∈∈ ∋ ni∋∋ ∏prod∏∏ ∑sum∑∑ ≤ Less of equal≤≤ ≥ Greater or equal≥≥ √square root√√

HTML Colors Color NameColor HEXColor AliceBlue #F0F8FF AntiqueWhite #FAEBD7 Aqua #00FFFF Aquamarine #7FFFD4 Azure #F0FFFF Beige #F5F5DC Bisque #FFE4C4 Black # BlanchedAlmond #FFEBCD Blue #0000FF BlueViolet #8A2BE2 Brown #A52A2A

HTML List Tag  Lists provide methods to show item or element sequences in document content. There are three main types of lists:-> 1.Unordered lists:- unordered lists are bulleted. 2.Ordered lists:- Ordered lists are numbered. 3.Definition lists:- Used to create a definition list.

List Tags is an empty tag,it is used for representing the list items Ordered list Unordered list Defines a definition list Defines a term (an item) in a definition list Defines a description of a term in a definition list

Unordered List  TYPE attribute to the tag to show different bullets like:- 1.Disc 2.Circle 3.Square …..  The attribute TYPE can also be used with element.

Code & Result of the Unordered List Disc bullets list: Jones Smith Hayes Jackson Circle bullets list: Jones Simth Hayes Jackson Square bullets list: Jones Smith Hayes Jackson

Ordered List  The TYPE attribute has the following value like:- 1.TYPE = "1" (Arabic numbers) 2.TYPE = "a" (Lowercase alphanumeric) 3.TYPE = "A" (Uppercase alphanumeric) 4.TYPE = "i" (Lowercase Roman numbers) 5.TYPE = "I" (Uppercase Roman numbers)  By default Arabic numbers are used

Code & Result of the Ordered List Numbered list: Jones Smith Hayes Jackson Letters list: Jones Smith Hayes Jackson Roman numbers list: Jones Smith Hayes Jackson

Code & Result of the Definition Lists The DEFINITION LIST allows you to list a series of words and then give their definitions. It's set up quite a bit different than the other two lists. Here is the HTML: MY Definition List Dogs Large wolf-like animals that bark and fetch. Cats Small feline animals that purr. Rabbits Furry little animals with long ears.

Hyperlink Tag  A hyperlink is a reference (an address) to a resource on the web.  Hyperlinks can point to any resource on the web: an HTML page, an image, a sound file, a movie, etc.  The HTML anchor element, is used to define both hyperlinks and anchors. Link text  The href attribute defines the link address. Visit Yahoo!

Result of Hyperlink Code

Image Tag  To display an image on a page, you need to use the src attribute.  src stands for "source". The value of the src attribute is the URL of the image you want to display on your page.  It is a empty tag.

Image attributes - tag Defines an image display an image on a page SRC stands for "source". Define "alternate text" for an image Defines the width of the image Defines the height of the image Defines border of the image Horizontal space of the image Vertical space of the image Align an image within the text Add a background image to an HTML page

Code & Result of the Image <img src=“winter.jpg" align="left" width="48" height="48"> <img src =“sunset.jpg" align="right" width="48" height="48">

Code & Result of the Image An image <img src="file" align="bottom" width="48" height="48"> in the text An image <img src ="file" align="middle" width="48" height="48"> in the text An image <img src ="" align="top" width="48" height="48"> in the text Note that bottom alignment is the default alignment <img src =“file" width="48" height="48"> An image before the text An image after the text <img src ="file" width="48" height="48">

Code & Result of the Image Image Tag <img src=“filename" align="bottom" width="20" height="20"> <img src =“filename" align="middle" width="40" height="40"> <img src ="filename" align="top" width="60" height="60"> <img src ="filename" width="80" height="80"> <img src =“filename" width="100" height="100">

HTML Table Tag used to create table table is divided into rows each row is divided into data cells Headings in a table caption to the table Defines groups of table columns Defines the attribute values for one or more columns in a table Defines a table head Defines a table body Defines a table footer amount of space between table cells. space around the edges of each cell To have heading across cells To have a heading across rows attribute takes a number

Code & Result of the Table Table without border MILK TEA COFFEE

Table Code with Border & Header Horizontal Header: Name Loan No Amount Jones L Vertical Header: Name Jones Loan No L-1 Amount 5000

Table Code with Colspan & Rowspan Cell that spans two columns: Name Loan No Jones L-1 L-2 Cell that spans two rows: Name Jones Loan No L-1 L-2

Table Code with Caption & ColSpacing My Caption Milk Tea Coffee

Cellpadding,Image & Backcolor Code Without cellpadding: Jones Smith Hayes Jackson With cellpadding: <table border="8" cellpadding="10" background="filename"> Jones Smith Hayes Jackson

HTML Form  A form is an area that can contain form elements.  Form elements are elements that allow the user to enter information in a form. like text fields, textarea fields, drop- down menus, radio buttons and checkboxes etc  A form is defined with the tag.  The syntax:-. input elements.

Form Tags Defines a form for user input used to create an input field Creates a single line text entry field Defines a text-area (a multi-line text input control) Creates a single line text entry field. And the characters entered are shown as asterisks (*) Defines a label to a control Creates a Radio Button. Defines a selectable list (a drop-down box) Defines a push button attribute of the option element. select or unselect a checkbox A drop-down box is a selectable list

Code of the HTML Form Create a Internet Mail Account First Name Last Name Desired Login Password Male Female Birthday -Select One- January February March TypeYourself

Result of the Form Code