HTML – HyperText Markup Language. What is HTML ? the publishing language of the World Wide Web WWW – is a system of interlinked hypertext documents accessed.

Slides:



Advertisements
Similar presentations
Intro to HTML Basics HTML = Hypertext Mark-up Language HTML = Hypertext Mark-up Language HTML is a plain-text file that can be created using a text editor.
Advertisements

HTML popo.
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.
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.
 2008 Pearson Education, Inc. All rights reserved. 1 Introduction to 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
Copyright © 2004 ProsoftTraining, All Rights Reserved. Lesson 9: Frames © 2007 Prosoft Learning Corporation All rights reserved ITD 110 Web Page Design.
Chapter 6 Working with Frames.
Copyright © 2004 ProsoftTraining, All Rights Reserved. Lesson 9: HTML Frames.
XHTML1 Topics Work with the Frameset Document Type Definition (DTD) Create frames Use the target and base attributes Create nested frames Format frames.
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.
INTRODUCTION TO WEB DEVELOPMENT AND HTML Lecture 06: Tables - Spring 2011.
Chapter 5 Working with Tables. Agenda Add a Table Assign a Table Border Adjust Cell Padding and Spacing Adjust Cell Width and Height Add Column Labels.
HTML Tags. Objectives Know the commonly used HTML tags Create a simple webpage using the HTML tags that will be discussed.
HTML. Goals How to use the Komodo editor HTML coding and testing – List and Images – Tables and Links – At least 2 pages and navigation –
CpSc 462/662: Database Management Systems (DBMS) (TEXNH Approach) HTML Basics James Wang.
CS105 Introduction to Computer Concepts HTML
The Mother Tongue of The Browser
HTML 4.0 History and Application By: Marc Mayzes.
Headings, Paragraphs, Formatting, Links, Head, CSS, Images
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.
HTML HyperText Markup Language Constantly evolving - extra facilities being added regularly Java applets and JavaScript used to increase functionality.
Dr. Nuha El-KhaliliInternet Programming ( ) HTML Hyper Text Markup Language The language of web pages Maintained by the W3C
Understanding HTML Code
HTML Introduction to HTML Tags. HTML Document My first HTML document Hello world!
HTML history, Tags, Element. HTML: HyperText Markup Language Hello World Welcome to the world!
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 eVenzia Technologies Learning HTML, XHTML & CSS Chapter 2.
1 HTML محمد احمدی نیا 2 Of 43 What is HTML?  HTML stands for Hyper Text Markup Language  HTML is not a programming language, it.
 2008 Pearson Education, Inc. All rights reserved Introduction to XHTML.
Introduction to HTML 1 Basharat Mahmood, Department of Computer Science, CIIT, Islamabad, Pakistan.
CS105 INTRODUCTION TO COMPUTER CONCEPTS HTML Instructor: Cuong (Charlie) Pham.
HTML: Hyptertext Markup Language Doman’s Sections.
Kingdom of Saudi Arabia Ministry of Higher Education Al-Imam Muhammad Ibn Saud Islamic University College of Computer and Information Sciences Chapter.
HTML (Hypertext Markup Language) – Class 3 Recap: HTML Special Characters (ex: ©). Including Images – using the tag. Lists – Ordered and Unordered.
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.
Introduction to HTML Xiangming Mu 9/23/ Learning Objectives Understand basic HTML tags and their attributes Learn to create a simple HTML page.
ECA 228 Internet/Intranet Design I Tables. ECA 228 Internet/Intranet Design I Basic HTML Tables Created as a way to present rows and clumns of data.
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.
CSE 409 – Advanced Internet Technology 1 DISCUSSION OF BASIC HTML TAGS.
HTML (Hyper Text Markup Language) Lecture II. Review Writing HTML files for web pages – efficient compact – fundamental. Text files with htm extension.
1 CSC317/318 INTERNET PROGRAMING / DYNAMIC WEB APPLICATION DEVELOPMENT Siti Nurbaya Ismail Faculty of Computer Science & Mathematics, Universiti Teknologi.
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”
XP Review 1 New Perspectives on JavaScript, Comprehensive1 Introducing HTML and XHTML Creating Web Pages with HTML.
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.
20-753: Fundamentals of Web Programming 1 Lecture 6: Advanced HTML Fundamentals of Web Programming Lecture 6: Advanced HTML.
REEM ALMOTIRI Information Technology Department Majmaah University.
Department of Computer Science, Florida State University CGS 3066: Web Programming and Design Spring
LINKING WEBPAGES USING HTML HYPERLINKS. Hyperlinks are text strings or images on a webpage which when clicked on, links to another section in the same.
CHAPTER TWO HTML TAGS. 1.Basic HTML Tags 1.1 HTML: Hypertext Markup Language  HTML stands for Hypertext Markup Language.  It is the markup language.
Department of Computer Science, Florida State University CGS 3066: Web Programming and Design Spring
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
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 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.
01 – HTML (1) Informatics Department Parahyangan Catholic University.
XHTML Introductory1 Frames Chapter 5. XHTML Introductory2 Objectives In this chapter, you will: Work with the Frameset Document Type Definition (DTD)
HTML.
HTML: HyperText Markup Language
Introduction to HTML.
Web Client Side Technologies Raneem Qaddoura
Presentation transcript:

HTML – HyperText Markup Language

What is HTML ? the publishing language of the World Wide Web WWW – is a system of interlinked hypertext documents accessed via the Internet is a mark-up language (i.e. its elements, HTML tags, “mark” text, instruct interpreter how to display text and also, “hyper-links” one document to another) created by Tim Berners-Lee at CERN (1990) HTML specification is standardized and maintained by World Wide Web Consortium (w3c.og)

History of HTML 1980: Tim Berners-Lee proposed ENQUIRE at CERN for sharing documents 1991: Tim Berners-Lee releases first publicly available description of HTML (has 20 elements) 1993: Tim Berners-Lee and Dan Connolly wrote the Internet draft of first HTML specification 1995: RFC 1866, HTML 2.0 January 1997: HTML 3.2 standardized by W3C December 1997: HTML 4.0 by W3C 1999: HTML 4.01 by W3C 2008: HTML 5 working draft by W3C

Elements of HTML the elements are called tags the general form of a tag is: … text content … tags tell the browser how the “content text” should be displayed in the web page attribute specifies characteristics of the tags event (you will see later, in the Javascript course) tag names are not case sensitive defines a comment

First, “Hello world”, HTML document Hello world page Hello World!

Main HTML tags an HTML document has an hierarchical structure - is the root of the html document - contains metadata about the document, action-scripting (see javascript), styles (see CSS) and general information referenced in the whole document - contains the actual text of the document

Global attributes Core attributes: class – specifies a classname for the element (CSS) id – specifies an ID for the element style – specifies an inline style for the element (CSS) title – specifies extra information for the element (tooltip text) Language attributes: dir=“ltr | rtl” – specifies text direction for the contents of the element lang – specifies a language code for the contents of the element Keybord attributes: accesskey – specifies a keyboard shortcut to access the elem. tabindex – specifies the taborder of the element

Type of tags Metadata tags Section tags Text-level appearance tags Grouping tags Image tag Anchor tag Table tag Script tag Embeded content tags

Metadata tags - provides a title for the document Ex.: My title … - specifies a default URL (Uniform Resource Locator) and a default target for all the links on a page <base href=“..URL..” target=“_blank | _parent | _self | _top | framename”> Ex.:

Metadata tags (2) - defines the relationship between a document and an external resource; appears in the head section, any number of times Attributes: href - location of the linked document rel – relationship between current document and linked document: alternate, appendix, bookmark, chapter, contents, copyright, glossary, help, home, index, next, prev, section, start, stylesheet, subsection rev - relationship between linked document and current document; values the same as above type – MIME type of the linked document target – where the document is to be loaded Ex.: for including a stylesheet

Metadata tags (3) - describes information about the html document; it is not displayed, it is machine parsable; appears in the head section Ex.: - defines style information in an html document (see CSS) Ex.: h1 {color:red} p {color:blue}

Section tags - defines the document body which contains all the text, hyperlinks, tables, images etc. Deprecated attributes: (use stylesheets instead) alink – color of an active link; rgb(x,x,x), #xxxxxx, colorname bgcolor – background color; values as above link – default color for unvisited link; values as above text – color of the text; values as above vlink – color of visited links; values as above background = URL – background image - defines the head section of the document; can contain tags:,,,,, (required)

Section tags (2) - defines a section in an HTML file; groups together elements which will be formated using the same style - defines a set of frames; mutually exclusive with Attributes: cols = pixels | % | * - the number and size of columns in a frameset rows = pixels | % | * - the number and size of rows in a frameset Ex.: and - defines frames (windows) within a frameset or in a document

Section tags (3) - a frame (window) within a frameset Attributes: frameboder = 0 | 1 marginheight = pixels(top and bottom margins of a frame) marginwidth = pixels (left and right margins of a frame) name – name of a frame noresize = “noresize” scrolling = “yes | no | auto” src = “URL” - URL of the document to show in a frame - an inline frame that contains another document within the current document Attributes: align, frameborder, height, width, marginwidth, marginheight, name, scrolling, src

Section tags (4).. - defines headings This is a heading2 search engines use headings to index the structure of your web page browsers automatically add an empty line before and after a heading - defines a paragraph This is a paragraph html documents are divided into paragraphs browsers automatically add an empty line before and after a paragraph

Text-level appearance tags - bold - italic - emphasized text - strong text - strikethrough text - underlined text - deleted text and - subscript and superscript text - preformatted text (text is displayed exactly as is written) - small text - big text

Grouping tags Definition lists:,, Ex.: Name1 Name1 is something1 Name2 Name2 is something2 Name3 Name3 is something3

Grouping tags (2) Ordered list:, Ex.: Ferrari Audi BMW Ford

Grouping tags (3) Unordered list:, Ex.: Ferrari Audi BMW Ford

Grouping tags (4) Drop-down list:, Ex.: Ferrari Audi BMW Ford

Image tag - embeds an image into html document Ex.: Required attributes: src, alt Optional attributes: align = top | bottom | middle | left | right border = pixels height = pixels | % width = pixels | % hspace = pixels vspace = pixels

Anchor tag - links current document to another document or a section from the current document Ex.: 1) google 2) some text 1) – for linking this html document to an external document (e.g. 2) – for creating a bookmark inside the document; it is not displayed by the browser, it is invisible; this bookmark can be referenced by: URL_of_this_document#test ex:

Anchor tag (2) Attributes: href: the URL of the destination of the link name: the name of the anchor (bookmark) rel: relationship between the current document and the linked document rev: relationship between the linked document and the current document shape: the shape of the link (default, rect, circle, poly) target: where to open the linked document (_blank, _parent, _self, _top, framename)

Table tag Professor Course Year of study John Boyd Operating Systems 2 Frank Black Web Programming 3 Computer Networks 3 Jack O'Neil Satellite Communications 3

Table tag (2) - defines a table - defines a table header cell (bold and centered) - defines a table row - defines a table data Attributes: for : border (pixels), cellpading (pixels), cellspacing (pixels), frame, rules, summary (text), width (pixels,%) for and : abbr (text), align (left,right,center,justify,char), axis, bgcolor - deprecated, char (character), charoff (number), colspan (number), headers, rowspan (number), height – deprecated, width – deprecated, scope (row,rowgroup,col,colgroup), valign (top,middle,bottom,baseline) for : align, bgcolor - deprecated, char, charoff, valign

Script tag for inserting action scripting (see javascript) Ex.: … javascript code … attributes: src: URL of the script defer: execution of the script should be delayed until the page has loaded charset: specifies encoding used in an external file

Embedded content tags - for inserting a java applet (deprecated) - including objects like images, audio, video, Java applets, ActiveX, pdf, flash Ex.:

Other tags - moves to the next line - draws a horizontal row

Example 1 - table

Example 2 - frame

Example 3 - div

References