HTML … Presented by :  Ranjan Kumar Sahoo Prepared by : Ranjan Kumar Sahoo Date  : May 11, 2011 Approx. time : 3 hours No. of slides  : 8
Enterprise System Solutions (P) Ltd. Introduction What is HTML? *  HTML stands for Hyper Text Markup Language * 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  What You Need ? * You don't need an HTML editor * You don't need a web server * You don't need a web site You can save an HTML file with .htm or  .html file extension.
Enterprise System Solutions (P) Ltd. DOM The HTML DOM defines a standard way for accessing and manipulating HTML documents. The DOM presents an HTML document as a tree-structure.
Enterprise System Solutions (P) Ltd. HTML Element HTML Element Syntax * An HTML element starts with a  start tag / opening tag * An HTML element ends with an  end tag / closing tag * The element content is everything between the start and the end tag * Some HTML elements have  empty  content * Empty elements are  closed  in the start tag * Most HTML elements can have  attributes *  Most HTML elements can be nested (can contain other HTML elements). World Wide Web Consortium (W3C) recommends lowercase in HTML 4, and demands lowercase tags in XHTML. HTML Elements * HTML Form * HTML Heading * HTML Paragraph * HTML Table * HTML Link * HTML Image * HTML List * HTML Frames
Enterprise System Solutions (P) Ltd. HTML Attributes HTML Attributes   * Attributes provide  additional information  about an element * Attributes are always specified in the  start tag * Attributes come in  name/value  pairs like: name="value" * Always Quote Attribute Values (Double style quotes are the most common, but single style quotes are also allowed.) Examples Attribute Value Description class    classname  Specifies a classname for an element id    id  Specifies a unique id for an element style    style_definition  Specifies an inline style for an element title    tooltip_text  Specifies extra information about an  element (displayed as a tool tip)
Enterprise System Solutions (P) Ltd. Points to keep in mind  HTML Doctypes A doctype declaration refers to the rules for the markup language,  so that the browsers render the content correctly. HTML CSS External styling HTML Head Elements inside <head> can include title, scripts, instruct the  browser where to find style sheets, provide meta information, and more. HTML Meta The <meta> tag provides metadata about the HTML document.  Metadata will not be displayed on the page, but will be machine parsable. Meta elements are typically used to specify page description, keywords,  author of the document, last modified, and other metadata. HTML Scripts The <script> tag is used to define a client-side script, such as a JavaScript.
Enterprise System Solutions (P) Ltd. HTML Events  <body> and <frameset> Events onload  Script to be run when a document load onunload  Script to be run when a document unload Form Events onblur  Script to be run when an element loses focus onchange  Script to be run when an element change onfocus  Script to be run when an element gets focus onreset  Script to be run when a form is reset onselect  Script to be run when an element is selected onsubmit Script to be run when a form is submitted Image Events onabort  Script to be run when loading of an image is interrupted
Enterprise System Solutions (P) Ltd. HTML Events(Contd.)  Keyboard Events Onkeydown Script to be run when a key is pressed onkeypress  Script to be run when a key is pressed and released onkeyup  Script to be run when a key is released Mouse Events onclick  Script to be run on a mouse click ondblclick    Script to be run on a mouse double-click onmousedown  Script to be run when mouse button is pressed onmousemove  Script to be run when mouse pointer moves onmouseout    Script to be run when mouse pointer moves out of  an element onmouseover  Script to be run when mouse pointer moves over an  element onmouseup    Script to be run when mouse button is released
Thank You… Any Question???

More Related Content

DOCX
What is html xml and xhtml
PDF
[Basic HTML/CSS] 1. html - basic tags
PPT
Introduction to XML
PDF
Introduction to XHTML
PPTX
HTML5 Topic 1
PPT
Xhtml
PPTX
HTML 5 Topic 2
PPTX
Lesson 2 Starting with the basics
What is html xml and xhtml
[Basic HTML/CSS] 1. html - basic tags
Introduction to XML
Introduction to XHTML
HTML5 Topic 1
Xhtml
HTML 5 Topic 2
Lesson 2 Starting with the basics

What's hot (16)

PPTX
PPT
PPT
Hyper Text Mark-up Language
PPTX
Web development Training in Ambala ! Batra Computer Centre
PPSX
Introduction to basic html by Danielle Douglas
PDF
Html5 - Tutorial
PPTX
HTML (Hyper Text Markup Language)
PPT
PPTX
PDF
PDF
Html - Tutorial
PPTX
PPT
Design Tools Html Xhtml
PPTX
PDF
Html,javascript & css
Hyper Text Mark-up Language
Web development Training in Ambala ! Batra Computer Centre
Introduction to basic html by Danielle Douglas
Html5 - Tutorial
HTML (Hyper Text Markup Language)
Html - Tutorial
Design Tools Html Xhtml
Html,javascript & css
Ad

Similar to Html (20)

PPTX
Markup language classification, designing static and dynamic
PPTX
Html starting
PPT
PPTX
HTML Training Part1
PPTX
PPTX
PPTX
web design
PPTX
web unit 2_4338494_2023_08_14_23_11.pptx
PPTX
An Overview of HTML, CSS & Java Script
PPTX
Computer fundamentals-internet p2
PPTX
PPT
Web Development using HTML & CSS
PPT
Higher Computing Science HTML
PPTX
PPTX
Introduction to HTML.pptx
PPTX
mst_unit1.pptx
PDF
WEB Module 1.pdf
ODP
Html5
DOC
Learn html from www
Markup language classification, designing static and dynamic
Html starting
HTML Training Part1
web design
web unit 2_4338494_2023_08_14_23_11.pptx
An Overview of HTML, CSS & Java Script
Computer fundamentals-internet p2
Web Development using HTML & CSS
Higher Computing Science HTML
Introduction to HTML.pptx
mst_unit1.pptx
WEB Module 1.pdf
Html5
Learn html from www
Ad

Recently uploaded (20)

PPTX
Computer Architecture Input Output Memory.pptx
PPTX
Virtual and Augmented Reality in Current Scenario
PDF
AI-driven educational solutions for real-life interventions in the Philippine...
PDF
OBE - B.A.(HON'S) IN INTERIOR ARCHITECTURE -Ar.MOHIUDDIN.pdf
PPTX
20th Century Theater, Methods, History.pptx
DOCX
Cambridge-Practice-Tests-for-IELTS-12.docx
PDF
Paper A Mock Exam 9_ Attempt review.pdf.
PDF
ChatGPT for Dummies - Pam Baker Ccesa007.pdf
PDF
Weekly quiz Compilation Jan -July 25.pdf
PDF
Complications of Minimal Access-Surgery.pdf
PDF
BP 704 T. NOVEL DRUG DELIVERY SYSTEMS (UNIT 1)
PDF
CISA (Certified Information Systems Auditor) Domain-Wise Summary.pdf
PPTX
ELIAS-SEZIURE AND EPilepsy semmioan session.pptx
PDF
Uderstanding digital marketing and marketing stratergie for engaging the digi...
PDF
Vision Prelims GS PYQ Analysis 2011-2022 www.upscpdf.com.pdf
PDF
A GUIDE TO GENETICS FOR UNDERGRADUATE MEDICAL STUDENTS
PPTX
202450812 BayCHI UCSC-SV 20250812 v17.pptx
PDF
BP 704 T. NOVEL DRUG DELIVERY SYSTEMS (UNIT 2).pdf
PPTX
Introduction to pro and eukaryotes and differences.pptx
PDF
HVAC Specification 2024 according to central public works department
Computer Architecture Input Output Memory.pptx
Virtual and Augmented Reality in Current Scenario
AI-driven educational solutions for real-life interventions in the Philippine...
OBE - B.A.(HON'S) IN INTERIOR ARCHITECTURE -Ar.MOHIUDDIN.pdf
20th Century Theater, Methods, History.pptx
Cambridge-Practice-Tests-for-IELTS-12.docx
Paper A Mock Exam 9_ Attempt review.pdf.
ChatGPT for Dummies - Pam Baker Ccesa007.pdf
Weekly quiz Compilation Jan -July 25.pdf
Complications of Minimal Access-Surgery.pdf
BP 704 T. NOVEL DRUG DELIVERY SYSTEMS (UNIT 1)
CISA (Certified Information Systems Auditor) Domain-Wise Summary.pdf
ELIAS-SEZIURE AND EPilepsy semmioan session.pptx
Uderstanding digital marketing and marketing stratergie for engaging the digi...
Vision Prelims GS PYQ Analysis 2011-2022 www.upscpdf.com.pdf
A GUIDE TO GENETICS FOR UNDERGRADUATE MEDICAL STUDENTS
202450812 BayCHI UCSC-SV 20250812 v17.pptx
BP 704 T. NOVEL DRUG DELIVERY SYSTEMS (UNIT 2).pdf
Introduction to pro and eukaryotes and differences.pptx
HVAC Specification 2024 according to central public works department

Html

  • 1. HTML … Presented by : Ranjan Kumar Sahoo Prepared by : Ranjan Kumar Sahoo Date : May 11, 2011 Approx. time : 3 hours No. of slides : 8
  • 2. Enterprise System Solutions (P) Ltd. Introduction What is HTML? * HTML stands for Hyper Text Markup Language * 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 What You Need ? * You don't need an HTML editor * You don't need a web server * You don't need a web site You can save an HTML file with .htm or .html file extension.
  • 3. Enterprise System Solutions (P) Ltd. DOM The HTML DOM defines a standard way for accessing and manipulating HTML documents. The DOM presents an HTML document as a tree-structure.
  • 4. Enterprise System Solutions (P) Ltd. HTML Element HTML Element Syntax * An HTML element starts with a start tag / opening tag * An HTML element ends with an end tag / closing tag * The element content is everything between the start and the end tag * Some HTML elements have empty content * Empty elements are closed in the start tag * Most HTML elements can have attributes * Most HTML elements can be nested (can contain other HTML elements). World Wide Web Consortium (W3C) recommends lowercase in HTML 4, and demands lowercase tags in XHTML. HTML Elements * HTML Form * HTML Heading * HTML Paragraph * HTML Table * HTML Link * HTML Image * HTML List * HTML Frames
  • 5. Enterprise System Solutions (P) Ltd. HTML Attributes HTML Attributes * Attributes provide additional information about an element * Attributes are always specified in the start tag * Attributes come in name/value pairs like: name=&quot;value&quot; * Always Quote Attribute Values (Double style quotes are the most common, but single style quotes are also allowed.) Examples Attribute Value Description class classname Specifies a classname for an element id id Specifies a unique id for an element style style_definition Specifies an inline style for an element title tooltip_text Specifies extra information about an element (displayed as a tool tip)
  • 6. Enterprise System Solutions (P) Ltd. Points to keep in mind HTML Doctypes A doctype declaration refers to the rules for the markup language, so that the browsers render the content correctly. HTML CSS External styling HTML Head Elements inside <head> can include title, scripts, instruct the browser where to find style sheets, provide meta information, and more. HTML Meta The <meta> tag provides metadata about the HTML document. Metadata will not be displayed on the page, but will be machine parsable. Meta elements are typically used to specify page description, keywords, author of the document, last modified, and other metadata. HTML Scripts The <script> tag is used to define a client-side script, such as a JavaScript.
  • 7. Enterprise System Solutions (P) Ltd. HTML Events <body> and <frameset> Events onload Script to be run when a document load onunload Script to be run when a document unload Form Events onblur Script to be run when an element loses focus onchange Script to be run when an element change onfocus Script to be run when an element gets focus onreset Script to be run when a form is reset onselect Script to be run when an element is selected onsubmit Script to be run when a form is submitted Image Events onabort Script to be run when loading of an image is interrupted
  • 8. Enterprise System Solutions (P) Ltd. HTML Events(Contd.) Keyboard Events Onkeydown Script to be run when a key is pressed onkeypress Script to be run when a key is pressed and released onkeyup Script to be run when a key is released Mouse Events onclick Script to be run on a mouse click ondblclick Script to be run on a mouse double-click onmousedown Script to be run when mouse button is pressed onmousemove Script to be run when mouse pointer moves onmouseout Script to be run when mouse pointer moves out of an element onmouseover Script to be run when mouse pointer moves over an element onmouseup Script to be run when mouse button is released
  • 9. Thank You… Any Question???