SlideShare ist ein Scribd-Unternehmen logo
1 von 13
Hamburger Markup Text Language
LECTURE 2
<div>
</div>
<body>
</body>
<li>
</li>
<html>
</html>
<script>
</script>
<head>
</head>
Open Tag
Close Tag
Content
Hamburger Text Markup Language - http://www.dontfeartheinternet.com/html/html
Start tags consist of the following parts, in exactly the following order:
1. A "<" character.
2. The element’s tag name.
3. Optionally, one or more attributes, each of which must be preceded by one or more
space characters.
4. Optionally, one or more space characters.
5. Optionally, a "/" character, which may be present only if the element is a void
element.
6. A ">" character.
<p>
<p class=“BoringTxt”>
Info via:
http://www.w3.org/TR/html-markup/syntax.html#syntax-elements
End tags consist of the following parts, in exactly the following order:
1. A "<" character.
2. A "/" character
3. The element’s tag name.
4. Optionally, one or more space characters.
5. A ">" character.
</p>
Attributes
class Specifies one or more classnames for an element (refers to a class in a style sheet)
id Specifies a unique id for an element
style Specifies an inline CSS style for an element
title Specifies extra information about an element (displayed as a tool tip)
Example:
<p class=“classname”>
<p id=“idname”>
<p style=“font-size:20px;”>
<area >
<base>
<br>
<col>
<command>
<embed>
<hr>
<img>
<input>
<link>
<meta>
<param>
<source>
Exception to the rule: VOID ELEMENTS
Void Elements are tags that don't require a closing tag to be valid.
These elements are usually elements that either stand alone on the page,
or where the end of their contents is obvious from the context of the page itself.
<div>
Lorem ipsum dolor sit amet.
<br/>
<img src=“example.jpg”/>
</div>
Void Elements
<head> Before the <body> element you will often see a <head> element. This
contains information about the page such as its title, keywords that may be useful to search
engines, and other data that is not considered document content.
<title> Every HTML document must have a <title> element in the HEAD
section. You should use the <title> element to identify the contents of a document. Since
users often consult documents out of context, authors should provide context-rich titles.
Thus, instead of a title such as "Introduction", which doesn't provide much contextual
background, authors should supply a title such as "Introduction to Medieval Bee-Keeping"
instead.
<body> The body of a document contains the document's content. The content
may be presented by a user agent in a variety of ways. For example, for visual browsers, you
can think of the body as a canvas where the content appears: text, images, colors, graphics,
etc. Everything inside this element is shown inside the main browser window.
a - “anchor” used for hyperlinks
blockquote - for large quotes
body - visible part of your site
br - line break
cite - a citation
div - content divider
DOCTYPE - document type
em - text w/ emphasis
h1 - most important header
h2 - 2nd most important
h3-h6 - 3-6th most important
head - invisible part of your site
html - “what follows is HTML”
img - image
li - list item
link - to attach CSS stylesheets
ol - ordered list
p - paragraph
span - inline content divider
strong - strong text emphasis
style - for inline CSS styling
title - title of the page
ul - unordered list
Common HTML Tags
List & Definitions via:
http://www.dontfeartheinternet.com/html/html
Required Attributes
src is used to specify the location of the image file.
alt is used to specify the alternative text of the image, which should be a short
description.
Optional Attributes
height can be used to define the height of the image (in pixels).
width can be used to define the width of the image (in pixels).
(Height & width can also be defined using CSS.
Example
IMG Tag
Info via:
http://www.htmldog.com/reference/htmltags/img/
<img src="http://www.website.com/images/logo.gif"
alt=“Logo” height=“50px” width=“50px” />
Result:
Tutorial: Your first web page!

Weitere ähnliche Inhalte

Was ist angesagt? (20)

Url
UrlUrl
Url
 
LINKING IN HTML
LINKING IN HTMLLINKING IN HTML
LINKING IN HTML
 
3 Layers of the Web - Part 1
3 Layers of the Web - Part 13 Layers of the Web - Part 1
3 Layers of the Web - Part 1
 
1. HTML
1. HTML1. HTML
1. HTML
 
Html introduction
Html introductionHtml introduction
Html introduction
 
3. tutorial html web desain
3. tutorial html web desain3. tutorial html web desain
3. tutorial html web desain
 
Basic Details of HTML and CSS.pdf
Basic Details of HTML and CSS.pdfBasic Details of HTML and CSS.pdf
Basic Details of HTML and CSS.pdf
 
Html
HtmlHtml
Html
 
HTML By K.Sasidhar
HTML By K.SasidharHTML By K.Sasidhar
HTML By K.Sasidhar
 
Web designing using html
Web designing using htmlWeb designing using html
Web designing using html
 
Intr to-html-xhtml-1233508169541646-3
Intr to-html-xhtml-1233508169541646-3Intr to-html-xhtml-1233508169541646-3
Intr to-html-xhtml-1233508169541646-3
 
HTML Link - Image - Comments
HTML  Link - Image - CommentsHTML  Link - Image - Comments
HTML Link - Image - Comments
 
Links in Html
Links in HtmlLinks in Html
Links in Html
 
HTML
HTMLHTML
HTML
 
IPW 3rd Course - CSS
IPW 3rd Course - CSSIPW 3rd Course - CSS
IPW 3rd Course - CSS
 
html tags
html tagshtml tags
html tags
 
Introduction to html
Introduction to htmlIntroduction to html
Introduction to html
 
Introduction to WEB HTML, CSS
Introduction to WEB HTML, CSSIntroduction to WEB HTML, CSS
Introduction to WEB HTML, CSS
 
What is HTML - An Introduction to HTML (Hypertext Markup Language)
What is HTML - An Introduction to HTML (Hypertext Markup Language)What is HTML - An Introduction to HTML (Hypertext Markup Language)
What is HTML - An Introduction to HTML (Hypertext Markup Language)
 
HTML
HTMLHTML
HTML
 

Andere mochten auch

13 collections
13   collections13   collections
13 collectionsTuan Ngo
 
RODOVIAS RS-ANÁLISE ZERO HORA NOV/2011 A MARÇO/2013-PARTE II
RODOVIAS RS-ANÁLISE ZERO HORA NOV/2011 A MARÇO/2013-PARTE IIRODOVIAS RS-ANÁLISE ZERO HORA NOV/2011 A MARÇO/2013-PARTE II
RODOVIAS RS-ANÁLISE ZERO HORA NOV/2011 A MARÇO/2013-PARTE IIPLANORS
 
Of mice and men2
Of mice and men2Of mice and men2
Of mice and men2NShuttle
 
Mainstreaming of Land Governance in National Agricultural and Food Security I...
Mainstreaming of Land Governance in National Agricultural and Food Security I...Mainstreaming of Land Governance in National Agricultural and Food Security I...
Mainstreaming of Land Governance in National Agricultural and Food Security I...futureagricultures
 
IM Club: Do You Trust Social Media Automation?
IM Club: Do You Trust Social Media Automation?IM Club: Do You Trust Social Media Automation?
IM Club: Do You Trust Social Media Automation?Rather Inventive
 
Bonding singapore
Bonding singaporeBonding singapore
Bonding singaporelimmervin24
 
Mba724 s4 2 writing up the final report
Mba724 s4 2 writing up the final reportMba724 s4 2 writing up the final report
Mba724 s4 2 writing up the final reportRachel Chung
 
Working Progress Evidence Final
Working Progress Evidence FinalWorking Progress Evidence Final
Working Progress Evidence Finalaq101824
 
長野市放課後子ども総合プラン有料化の方針
長野市放課後子ども総合プラン有料化の方針長野市放課後子ども総合プラン有料化の方針
長野市放課後子ども総合プラン有料化の方針長野市議会議員小泉一真
 
The best wordpress backlink plugin get 150
The best wordpress backlink plugin   get 150The best wordpress backlink plugin   get 150
The best wordpress backlink plugin get 150trexx101
 
Весеннее настроение
Весеннее настроениеВесеннее настроение
Весеннее настроениеelvira38
 
Round table guide
Round table guideRound table guide
Round table guideOracleIDM
 
Borobudur
BorobudurBorobudur
BorobudurEma Aja
 
Jak się tworzy leki?
Jak się tworzy leki?Jak się tworzy leki?
Jak się tworzy leki?Xplore Health
 
The Mobile Equation
The Mobile EquationThe Mobile Equation
The Mobile EquationA. Litsa
 
Definition of Matter Lab Day 3
Definition of Matter Lab Day 3Definition of Matter Lab Day 3
Definition of Matter Lab Day 3jmori1
 
здоровый образ жизни
здоровый образ жизни здоровый образ жизни
здоровый образ жизни elvira38
 

Andere mochten auch (20)

13 collections
13   collections13   collections
13 collections
 
RODOVIAS RS-ANÁLISE ZERO HORA NOV/2011 A MARÇO/2013-PARTE II
RODOVIAS RS-ANÁLISE ZERO HORA NOV/2011 A MARÇO/2013-PARTE IIRODOVIAS RS-ANÁLISE ZERO HORA NOV/2011 A MARÇO/2013-PARTE II
RODOVIAS RS-ANÁLISE ZERO HORA NOV/2011 A MARÇO/2013-PARTE II
 
P y a
P y aP y a
P y a
 
Of mice and men2
Of mice and men2Of mice and men2
Of mice and men2
 
1 15
1 151 15
1 15
 
Mainstreaming of Land Governance in National Agricultural and Food Security I...
Mainstreaming of Land Governance in National Agricultural and Food Security I...Mainstreaming of Land Governance in National Agricultural and Food Security I...
Mainstreaming of Land Governance in National Agricultural and Food Security I...
 
IM Club: Do You Trust Social Media Automation?
IM Club: Do You Trust Social Media Automation?IM Club: Do You Trust Social Media Automation?
IM Club: Do You Trust Social Media Automation?
 
Bonding singapore
Bonding singaporeBonding singapore
Bonding singapore
 
Mba724 s4 2 writing up the final report
Mba724 s4 2 writing up the final reportMba724 s4 2 writing up the final report
Mba724 s4 2 writing up the final report
 
Working Progress Evidence Final
Working Progress Evidence FinalWorking Progress Evidence Final
Working Progress Evidence Final
 
長野市放課後子ども総合プラン有料化の方針
長野市放課後子ども総合プラン有料化の方針長野市放課後子ども総合プラン有料化の方針
長野市放課後子ども総合プラン有料化の方針
 
The best wordpress backlink plugin get 150
The best wordpress backlink plugin   get 150The best wordpress backlink plugin   get 150
The best wordpress backlink plugin get 150
 
Весеннее настроение
Весеннее настроениеВесеннее настроение
Весеннее настроение
 
Round table guide
Round table guideRound table guide
Round table guide
 
Borobudur
BorobudurBorobudur
Borobudur
 
Сезон простуд вебинар2016
Сезон простуд вебинар2016Сезон простуд вебинар2016
Сезон простуд вебинар2016
 
Jak się tworzy leki?
Jak się tworzy leki?Jak się tworzy leki?
Jak się tworzy leki?
 
The Mobile Equation
The Mobile EquationThe Mobile Equation
The Mobile Equation
 
Definition of Matter Lab Day 3
Definition of Matter Lab Day 3Definition of Matter Lab Day 3
Definition of Matter Lab Day 3
 
здоровый образ жизни
здоровый образ жизни здоровый образ жизни
здоровый образ жизни
 

Ähnlich wie Lesson2 (20)

Introduction to HTML
Introduction to HTMLIntroduction to HTML
Introduction to HTML
 
Session ii(html)
Session ii(html)Session ii(html)
Session ii(html)
 
INTRODUCTION TO HTML
INTRODUCTION TO HTMLINTRODUCTION TO HTML
INTRODUCTION TO HTML
 
HTML/HTML5
HTML/HTML5HTML/HTML5
HTML/HTML5
 
Class Intro / HTML Basics
Class Intro / HTML BasicsClass Intro / HTML Basics
Class Intro / HTML Basics
 
Html.docx
Html.docxHtml.docx
Html.docx
 
AttributesL3.pptx
AttributesL3.pptxAttributesL3.pptx
AttributesL3.pptx
 
Html
HtmlHtml
Html
 
Html update1(30 8-2009)
Html update1(30 8-2009)Html update1(30 8-2009)
Html update1(30 8-2009)
 
Lesson 3
Lesson 3Lesson 3
Lesson 3
 
HTML Foundations, part 1
HTML Foundations, part 1HTML Foundations, part 1
HTML Foundations, part 1
 
PHP HTML CSS Notes
PHP HTML CSS  NotesPHP HTML CSS  Notes
PHP HTML CSS Notes
 
Basic html
Basic htmlBasic html
Basic html
 
HTML guide for beginners
HTML guide for beginnersHTML guide for beginners
HTML guide for beginners
 
html-basic.pdf
html-basic.pdfhtml-basic.pdf
html-basic.pdf
 
Introduction to HTML.pptx
Introduction to HTML.pptxIntroduction to HTML.pptx
Introduction to HTML.pptx
 
Html full
Html fullHtml full
Html full
 
Learn html elements and structure cheatsheet codecademy
Learn html  elements and structure cheatsheet   codecademyLearn html  elements and structure cheatsheet   codecademy
Learn html elements and structure cheatsheet codecademy
 
Elements
ElementsElements
Elements
 
HTML5 introduction
HTML5 introductionHTML5 introduction
HTML5 introduction
 

Mehr von hstryk

CSS - Text Properties
CSS - Text PropertiesCSS - Text Properties
CSS - Text Propertieshstryk
 
Lesson 3 - HTML & CSS Part 2
Lesson 3 - HTML & CSS Part 2Lesson 3 - HTML & CSS Part 2
Lesson 3 - HTML & CSS Part 2hstryk
 
Lesson1 - Fall 2013
Lesson1 - Fall 2013Lesson1 - Fall 2013
Lesson1 - Fall 2013hstryk
 
CSS3 Transitions
CSS3 TransitionsCSS3 Transitions
CSS3 Transitionshstryk
 
CSS Layout Tutorial
CSS Layout TutorialCSS Layout Tutorial
CSS Layout Tutorialhstryk
 
Introduction to CSS3
Introduction to CSS3Introduction to CSS3
Introduction to CSS3hstryk
 
Sprites rollovers
Sprites rolloversSprites rollovers
Sprites rollovershstryk
 
Building a Website from Planning to Photoshop Mockup to HTML/CSS
Building a Website from Planning to Photoshop Mockup to HTML/CSSBuilding a Website from Planning to Photoshop Mockup to HTML/CSS
Building a Website from Planning to Photoshop Mockup to HTML/CSShstryk
 
Lecture4
Lecture4Lecture4
Lecture4hstryk
 
Tutorial1 - Part 2
Tutorial1 - Part 2Tutorial1 - Part 2
Tutorial1 - Part 2hstryk
 
Tutorial1
Tutorial1Tutorial1
Tutorial1hstryk
 
Project1
Project1Project1
Project1hstryk
 
Lesson2
Lesson2Lesson2
Lesson2hstryk
 
Lesson1
Lesson1Lesson1
Lesson1hstryk
 
Heather Strycharz - Resume
Heather Strycharz - ResumeHeather Strycharz - Resume
Heather Strycharz - Resumehstryk
 

Mehr von hstryk (15)

CSS - Text Properties
CSS - Text PropertiesCSS - Text Properties
CSS - Text Properties
 
Lesson 3 - HTML & CSS Part 2
Lesson 3 - HTML & CSS Part 2Lesson 3 - HTML & CSS Part 2
Lesson 3 - HTML & CSS Part 2
 
Lesson1 - Fall 2013
Lesson1 - Fall 2013Lesson1 - Fall 2013
Lesson1 - Fall 2013
 
CSS3 Transitions
CSS3 TransitionsCSS3 Transitions
CSS3 Transitions
 
CSS Layout Tutorial
CSS Layout TutorialCSS Layout Tutorial
CSS Layout Tutorial
 
Introduction to CSS3
Introduction to CSS3Introduction to CSS3
Introduction to CSS3
 
Sprites rollovers
Sprites rolloversSprites rollovers
Sprites rollovers
 
Building a Website from Planning to Photoshop Mockup to HTML/CSS
Building a Website from Planning to Photoshop Mockup to HTML/CSSBuilding a Website from Planning to Photoshop Mockup to HTML/CSS
Building a Website from Planning to Photoshop Mockup to HTML/CSS
 
Lecture4
Lecture4Lecture4
Lecture4
 
Tutorial1 - Part 2
Tutorial1 - Part 2Tutorial1 - Part 2
Tutorial1 - Part 2
 
Tutorial1
Tutorial1Tutorial1
Tutorial1
 
Project1
Project1Project1
Project1
 
Lesson2
Lesson2Lesson2
Lesson2
 
Lesson1
Lesson1Lesson1
Lesson1
 
Heather Strycharz - Resume
Heather Strycharz - ResumeHeather Strycharz - Resume
Heather Strycharz - Resume
 

Kürzlich hochgeladen

Unraveling Multimodality with Large Language Models.pdf
Unraveling Multimodality with Large Language Models.pdfUnraveling Multimodality with Large Language Models.pdf
Unraveling Multimodality with Large Language Models.pdfAlex Barbosa Coqueiro
 
DevEX - reference for building teams, processes, and platforms
DevEX - reference for building teams, processes, and platformsDevEX - reference for building teams, processes, and platforms
DevEX - reference for building teams, processes, and platformsSergiu Bodiu
 
Unleash Your Potential - Namagunga Girls Coding Club
Unleash Your Potential - Namagunga Girls Coding ClubUnleash Your Potential - Namagunga Girls Coding Club
Unleash Your Potential - Namagunga Girls Coding ClubKalema Edgar
 
Streamlining Python Development: A Guide to a Modern Project Setup
Streamlining Python Development: A Guide to a Modern Project SetupStreamlining Python Development: A Guide to a Modern Project Setup
Streamlining Python Development: A Guide to a Modern Project SetupFlorian Wilhelm
 
Merck Moving Beyond Passwords: FIDO Paris Seminar.pptx
Merck Moving Beyond Passwords: FIDO Paris Seminar.pptxMerck Moving Beyond Passwords: FIDO Paris Seminar.pptx
Merck Moving Beyond Passwords: FIDO Paris Seminar.pptxLoriGlavin3
 
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)Mark Simos
 
The Ultimate Guide to Choosing WordPress Pros and Cons
The Ultimate Guide to Choosing WordPress Pros and ConsThe Ultimate Guide to Choosing WordPress Pros and Cons
The Ultimate Guide to Choosing WordPress Pros and ConsPixlogix Infotech
 
CloudStudio User manual (basic edition):
CloudStudio User manual (basic edition):CloudStudio User manual (basic edition):
CloudStudio User manual (basic edition):comworks
 
Advanced Test Driven-Development @ php[tek] 2024
Advanced Test Driven-Development @ php[tek] 2024Advanced Test Driven-Development @ php[tek] 2024
Advanced Test Driven-Development @ php[tek] 2024Scott Keck-Warren
 
Commit 2024 - Secret Management made easy
Commit 2024 - Secret Management made easyCommit 2024 - Secret Management made easy
Commit 2024 - Secret Management made easyAlfredo García Lavilla
 
"Debugging python applications inside k8s environment", Andrii Soldatenko
"Debugging python applications inside k8s environment", Andrii Soldatenko"Debugging python applications inside k8s environment", Andrii Soldatenko
"Debugging python applications inside k8s environment", Andrii SoldatenkoFwdays
 
TrustArc Webinar - How to Build Consumer Trust Through Data Privacy
TrustArc Webinar - How to Build Consumer Trust Through Data PrivacyTrustArc Webinar - How to Build Consumer Trust Through Data Privacy
TrustArc Webinar - How to Build Consumer Trust Through Data PrivacyTrustArc
 
TeamStation AI System Report LATAM IT Salaries 2024
TeamStation AI System Report LATAM IT Salaries 2024TeamStation AI System Report LATAM IT Salaries 2024
TeamStation AI System Report LATAM IT Salaries 2024Lonnie McRorey
 
How to write a Business Continuity Plan
How to write a Business Continuity PlanHow to write a Business Continuity Plan
How to write a Business Continuity PlanDatabarracks
 
Vertex AI Gemini Prompt Engineering Tips
Vertex AI Gemini Prompt Engineering TipsVertex AI Gemini Prompt Engineering Tips
Vertex AI Gemini Prompt Engineering TipsMiki Katsuragi
 
"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack
"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack
"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek SchlawackFwdays
 
Nell’iperspazio con Rocket: il Framework Web di Rust!
Nell’iperspazio con Rocket: il Framework Web di Rust!Nell’iperspazio con Rocket: il Framework Web di Rust!
Nell’iperspazio con Rocket: il Framework Web di Rust!Commit University
 
What's New in Teams Calling, Meetings and Devices March 2024
What's New in Teams Calling, Meetings and Devices March 2024What's New in Teams Calling, Meetings and Devices March 2024
What's New in Teams Calling, Meetings and Devices March 2024Stephanie Beckett
 
Hyperautomation and AI/ML: A Strategy for Digital Transformation Success.pdf
Hyperautomation and AI/ML: A Strategy for Digital Transformation Success.pdfHyperautomation and AI/ML: A Strategy for Digital Transformation Success.pdf
Hyperautomation and AI/ML: A Strategy for Digital Transformation Success.pdfPrecisely
 

Kürzlich hochgeladen (20)

Unraveling Multimodality with Large Language Models.pdf
Unraveling Multimodality with Large Language Models.pdfUnraveling Multimodality with Large Language Models.pdf
Unraveling Multimodality with Large Language Models.pdf
 
DevEX - reference for building teams, processes, and platforms
DevEX - reference for building teams, processes, and platformsDevEX - reference for building teams, processes, and platforms
DevEX - reference for building teams, processes, and platforms
 
Unleash Your Potential - Namagunga Girls Coding Club
Unleash Your Potential - Namagunga Girls Coding ClubUnleash Your Potential - Namagunga Girls Coding Club
Unleash Your Potential - Namagunga Girls Coding Club
 
Streamlining Python Development: A Guide to a Modern Project Setup
Streamlining Python Development: A Guide to a Modern Project SetupStreamlining Python Development: A Guide to a Modern Project Setup
Streamlining Python Development: A Guide to a Modern Project Setup
 
Merck Moving Beyond Passwords: FIDO Paris Seminar.pptx
Merck Moving Beyond Passwords: FIDO Paris Seminar.pptxMerck Moving Beyond Passwords: FIDO Paris Seminar.pptx
Merck Moving Beyond Passwords: FIDO Paris Seminar.pptx
 
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)
 
E-Vehicle_Hacking_by_Parul Sharma_null_owasp.pptx
E-Vehicle_Hacking_by_Parul Sharma_null_owasp.pptxE-Vehicle_Hacking_by_Parul Sharma_null_owasp.pptx
E-Vehicle_Hacking_by_Parul Sharma_null_owasp.pptx
 
The Ultimate Guide to Choosing WordPress Pros and Cons
The Ultimate Guide to Choosing WordPress Pros and ConsThe Ultimate Guide to Choosing WordPress Pros and Cons
The Ultimate Guide to Choosing WordPress Pros and Cons
 
CloudStudio User manual (basic edition):
CloudStudio User manual (basic edition):CloudStudio User manual (basic edition):
CloudStudio User manual (basic edition):
 
Advanced Test Driven-Development @ php[tek] 2024
Advanced Test Driven-Development @ php[tek] 2024Advanced Test Driven-Development @ php[tek] 2024
Advanced Test Driven-Development @ php[tek] 2024
 
Commit 2024 - Secret Management made easy
Commit 2024 - Secret Management made easyCommit 2024 - Secret Management made easy
Commit 2024 - Secret Management made easy
 
"Debugging python applications inside k8s environment", Andrii Soldatenko
"Debugging python applications inside k8s environment", Andrii Soldatenko"Debugging python applications inside k8s environment", Andrii Soldatenko
"Debugging python applications inside k8s environment", Andrii Soldatenko
 
TrustArc Webinar - How to Build Consumer Trust Through Data Privacy
TrustArc Webinar - How to Build Consumer Trust Through Data PrivacyTrustArc Webinar - How to Build Consumer Trust Through Data Privacy
TrustArc Webinar - How to Build Consumer Trust Through Data Privacy
 
TeamStation AI System Report LATAM IT Salaries 2024
TeamStation AI System Report LATAM IT Salaries 2024TeamStation AI System Report LATAM IT Salaries 2024
TeamStation AI System Report LATAM IT Salaries 2024
 
How to write a Business Continuity Plan
How to write a Business Continuity PlanHow to write a Business Continuity Plan
How to write a Business Continuity Plan
 
Vertex AI Gemini Prompt Engineering Tips
Vertex AI Gemini Prompt Engineering TipsVertex AI Gemini Prompt Engineering Tips
Vertex AI Gemini Prompt Engineering Tips
 
"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack
"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack
"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack
 
Nell’iperspazio con Rocket: il Framework Web di Rust!
Nell’iperspazio con Rocket: il Framework Web di Rust!Nell’iperspazio con Rocket: il Framework Web di Rust!
Nell’iperspazio con Rocket: il Framework Web di Rust!
 
What's New in Teams Calling, Meetings and Devices March 2024
What's New in Teams Calling, Meetings and Devices March 2024What's New in Teams Calling, Meetings and Devices March 2024
What's New in Teams Calling, Meetings and Devices March 2024
 
Hyperautomation and AI/ML: A Strategy for Digital Transformation Success.pdf
Hyperautomation and AI/ML: A Strategy for Digital Transformation Success.pdfHyperautomation and AI/ML: A Strategy for Digital Transformation Success.pdf
Hyperautomation and AI/ML: A Strategy for Digital Transformation Success.pdf
 

Lesson2

  • 1. Hamburger Markup Text Language LECTURE 2
  • 3. Start tags consist of the following parts, in exactly the following order: 1. A "<" character. 2. The element’s tag name. 3. Optionally, one or more attributes, each of which must be preceded by one or more space characters. 4. Optionally, one or more space characters. 5. Optionally, a "/" character, which may be present only if the element is a void element. 6. A ">" character. <p> <p class=“BoringTxt”> Info via: http://www.w3.org/TR/html-markup/syntax.html#syntax-elements
  • 4. End tags consist of the following parts, in exactly the following order: 1. A "<" character. 2. A "/" character 3. The element’s tag name. 4. Optionally, one or more space characters. 5. A ">" character. </p>
  • 5. Attributes class Specifies one or more classnames for an element (refers to a class in a style sheet) id Specifies a unique id for an element style Specifies an inline CSS style for an element title Specifies extra information about an element (displayed as a tool tip) Example: <p class=“classname”> <p id=“idname”> <p style=“font-size:20px;”>
  • 6. <area > <base> <br> <col> <command> <embed> <hr> <img> <input> <link> <meta> <param> <source> Exception to the rule: VOID ELEMENTS Void Elements are tags that don't require a closing tag to be valid. These elements are usually elements that either stand alone on the page, or where the end of their contents is obvious from the context of the page itself. <div> Lorem ipsum dolor sit amet. <br/> <img src=“example.jpg”/> </div> Void Elements
  • 7. <head> Before the <body> element you will often see a <head> element. This contains information about the page such as its title, keywords that may be useful to search engines, and other data that is not considered document content. <title> Every HTML document must have a <title> element in the HEAD section. You should use the <title> element to identify the contents of a document. Since users often consult documents out of context, authors should provide context-rich titles. Thus, instead of a title such as "Introduction", which doesn't provide much contextual background, authors should supply a title such as "Introduction to Medieval Bee-Keeping" instead. <body> The body of a document contains the document's content. The content may be presented by a user agent in a variety of ways. For example, for visual browsers, you can think of the body as a canvas where the content appears: text, images, colors, graphics, etc. Everything inside this element is shown inside the main browser window.
  • 8.
  • 9. a - “anchor” used for hyperlinks blockquote - for large quotes body - visible part of your site br - line break cite - a citation div - content divider DOCTYPE - document type em - text w/ emphasis h1 - most important header h2 - 2nd most important h3-h6 - 3-6th most important head - invisible part of your site html - “what follows is HTML” img - image li - list item link - to attach CSS stylesheets ol - ordered list p - paragraph span - inline content divider strong - strong text emphasis style - for inline CSS styling title - title of the page ul - unordered list Common HTML Tags List & Definitions via: http://www.dontfeartheinternet.com/html/html
  • 10. Required Attributes src is used to specify the location of the image file. alt is used to specify the alternative text of the image, which should be a short description. Optional Attributes height can be used to define the height of the image (in pixels). width can be used to define the width of the image (in pixels). (Height & width can also be defined using CSS. Example IMG Tag Info via: http://www.htmldog.com/reference/htmltags/img/ <img src="http://www.website.com/images/logo.gif" alt=“Logo” height=“50px” width=“50px” />
  • 11.
  • 13. Tutorial: Your first web page!