E N D
How To Study HTML How To Study HTML
Content Content HTML Introduction HTML Editors HTML Elements HTML Attributes HTML Events HTML Tags HTML APIs
HTML Introduction HTML Introduction • Features • Version • Structure • Encoding
HTML Introduction HTML Introduction Features Features HTML is a markup language for describing web pages. HTML stands for Hyper Text Markup Language A markup language is a set of markup tags HTML documents are described by HTML tags Each HTML tag describes different document content
HTML Introduction HTML Introduction Version Version
HTML Introduction HTML Introduction Version Version
HTML Introduction HTML Introduction Structure Structure
HTML Introduction HTML Introduction Structure Structure
HTML HTML Encoding ( Encoding (Character Character Sets) Sets) To display an HTML page correctly, a web browser must know the character set to use. The default character encoding was changed to UTF-8 in HTML5.
HTML HTML Encoding (Character Sets) Encoding (Character Sets)
HTML Editors HTML Editors • JetBrains WebStorm • Microsoft Visual Studio • Adobe Dreamweaver • Embarcadero Delphi • Notepad++ • Notepad • …… .html .html as File Extension
Web Browser Web Browser
HTML Elements HTML Elements Structure Structure • HTML elements are written with a start tag, with an end tag, with the content in between:
HTML Elements HTML Elements Nested Nested • HTML elements can be nested (elements can contain elements). • All HTML documents consist of nested HTML elements.
HTML Elements HTML Elements Type Type • Every HTML element has a default display value depending on what type of element it is. • The default display value for most elements is block or inline. Block-level Elements Inline Elements Empty Elements
HTML Attributes HTML Attributes • Attributes provide additional information about HTML elements. HTML elements can have 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"
HTML Attributes HTML Attributes HTML Global Attributes HTML Common Attributes HTML Special Attributes
HTML Global HTML Global Attributes Attributes
HTML Global Attributes HTML Global Attributes
HTML Common HTML Common Attributes Attributes
HTML Attributes Samples HTML Attributes Samples
HTML HTML Events Events Window Events Form Events Keyboard Events Mouse Events Clipboard Events Media Events Misc. Events
Window Event Events triggered for the window object (applies to the <body> tag):
Form Events • Events triggered by actions inside a HTML form :
Media Events • Events triggered by medias like videos, images and audio (applies to all HTML elements, but is most common in media elements, like <audio>, <embed>, <img>, <object>, and <video>).
HTML HTML Tags Tags 111 111 Links Basic HTML Lists Formatting Tables Forms and Input Styles and Semantics Frames Meta Info Images Programming Audio / Video
Images 6 6
Links 3 3
Lists 8 8
Tables 10 10
Styles and Semantics 12 12
Meta Info 3 3
Programming 5 5
HTML APIs HTML5 Geolocation HTML5 Local Storage HTML5 Drag and Drop HTML5 Application Cache HTML5 Web Workers HTML5 Server-Sent Events