SlideShare a Scribd company logo
HTMLHTML
Programming/Programming/
CodingCoding
What does HTML Stand for?
• Hyper
• Text
• Markup
• Language
Is HTML a programming
language?
(That’s a No.)
What is it then?
Unlike with a programming language, all you can do with
HTML is format information. In this sense, you use HTML for
layout tasks. To cover this weakness, HTML coders use other
languages, like Javascript, to do complex tasks that require
programming.
So do you program in HTML?
HTML is a formatting language.
No.
You write HTML code. (I.E. you code HTML)
How does HTML work?
• Since all HTML can do is manage the
layout of information, it’s not that hard to
use.
• An HTML document has two kinds of
information in it
• Information (Text, etc.)
• HTML code to format that information
So what is HTML code like?
HTML is a tag-based language.
That means that HTML code is made out of little pieces, called
tags, with a particular structure. They surround information that
they manipulate.
Generally, if you have an HTML tag called TAGX, it consists of
two parts:
• An opening tag, <TAGX>
• A closing tag, </TAGX>
How do these tags work?
The tags surround a piece of information that they are
designed to have a formatting effect on. For example, if we
have a piece of text,
“I like to paint xylophones while flying a hang glider.”
and we want to make it bold, we can use an HTML tag, <b> to
do this.
<b> I like to paint xylophones while flying a hang glider.</b>
shows up like this in a browser:
I like to paint xylophones while flying a hang glider.
Notice that in our previous example, all of the text was inside
of the bold tags,
<b> I like to paint xylophones while flying a hang glider.</b>
meaning that all of it was put into bold. If I only wanted to
bold part of it, however, I could put only part of it inside the
tags, like this.
I like to paint <b>xylophones </b> while flying a hang glider.
This would produce:
I like to paint xylophones while flying a hang glider.
Basic Tags
The most basic tag is the <html> tag.
This tag appears at the beginning of every HTML document
(.html or .htm) and the corresponding closing tag,
</html>, appears at the end of every HTML document.
So so far we have:
<html>
***some HTML code and information***
</html>
Basic Tags pt 2
Every HTML document is divided into 2 parts: a head and a
body. The head contains information about the document, like
the title, and the body contains most of the actual code and
information. The tags are: <head> and <body>.
So so far we have:
<html>
<head>***HTML code and information***</head>
<body>
***HTML code and information***
</body>
</html>
<head>
Inside the <head> tags you can put a lot of different tags and
information, but for now we’ll only worry about one thing: the
<title> tag.
This tag allows you to specify the text that appears at the top
of the browser window.
<html>
<head>
<title> My Happy Page </title>
***more HTML code and information***
</head>
…etc
<body>
Things that go inside of the body tags include:
•Text
•Images
•Links
•Multimedia
and such.
Let’s focus on text for now.
Text-related Tags
The first text-related tag we’ll look at is a header tag.
Header tags are used to mark text that heads a section, usually
by making it larger.
We’ll start with the largest one, <h1>.
Try adding <h1> Some Text </h1> into the body of your
document, like this:
….
<body>
<h1> Some Text </h1>
</body>
</html>
Text-related Tags pt 2
Header tags come in several sizes, from <h1> down to <h6>.
Try changing the tag to <h3> and comparing the size.
<html>
<head>
<title> … </title>
</head>
<body>
<h3> Some Text </h3>
</body>
</html>
An additional benefit of header tags is that they add a line break.
Text-related Tags pt 3
We’d like to add several lines of text. To do this we just type
the text, like this:
<html>
<head>
<title> … </title>
</head>
<body>
<h1> Some Text </h1>
This is line 1 of the text.
This is line 2 of the text.
</body>
</html>
What’s the problem with this?
Text-related Tags pt 4
The two lines of text are run together. We’d like to put text on
a new line. The solution? The <br> tag. <br> stands for break,
as in line break. <br> is also an exception in that it doesn’t
have a closing tag.
<html>
<head>
<title> … </title>
</head>
<body>
<h1> Some Text </h1>
This is line 1 of the text.
<br>This is line 2 of the text.
</body>
</html>
Text-related Tags pt 5
What if we have a lot of text in separate paragraphs? Should
we just use a lot of <br> s?
Well, we could….
But what we should really use is the paragraph tag, <p>.
The paragraph tag is roughly equivalent to 2 <br> s, and it has
a closing tag, </p>
<p>
Paragraph 1
</p>
<p>
Paragraph 2
</p>
Text-related Tags pt 6
So now we have text nicely formatted into paragraphs. What if
we want to emphasize some of it by underlining, italicizing, or
bolding it?
Well, we’ve already seen the bold tag, <b>.
Similarly, <i> is the tag for italics and <u> is the tag for
underlining. All three of these can be used at once if you want,
or just by themselves.
This <u>sentence is <i>way <b>confusing</b></i>. </u>
shows up as:
This sentence is way confusing.
<html>
<head>
<title> That’s it for now. </title>
</head>
<body>
<p>But more later!</p>
</body>
</html>

More Related Content

What's hot

Html tag
Html tagHtml tag
Html tag
NIRMAL FELIX
 
Basic html
Basic htmlBasic html
Basic html
Drew Eric Noftle
 
Lecture 2 introduction to html
Lecture 2  introduction to htmlLecture 2  introduction to html
Lecture 2 introduction to html
palhaftab
 
Title, heading and paragraph tags
Title, heading and paragraph tagsTitle, heading and paragraph tags
Title, heading and paragraph tags
Sara Corpuz
 
HTML5 and DHTML
HTML5 and DHTMLHTML5 and DHTML
HTML5 and DHTML
patelpriyank01
 
Html ppt by Fathima faculty Hasanath college for women bangalore
Html ppt by Fathima faculty Hasanath college for women bangaloreHtml ppt by Fathima faculty Hasanath college for women bangalore
Html ppt by Fathima faculty Hasanath college for women bangalore
fathima12
 
Learn HTML Easier
Learn HTML EasierLearn HTML Easier
Learn HTML Easier
Karthick Mathesh
 
Html1
Html1Html1
Html1
learnt
 
Html example
Html exampleHtml example
Html example
Dorothy Dominic
 
Html presantation
Html presantationHtml presantation
Html presantation
Adityaroy110
 
Lectuer html1
Lectuer  html1Lectuer  html1
Lectuer html1
Nawal Alragawi
 
Html intro
Html introHtml intro
Html intro
kalaivani.g
 
Adding text in html
Adding text in htmlAdding text in html
Adding text in html
nobel mujuji
 
Introduction to basic HTML [Librarian edition]
Introduction to basic HTML [Librarian edition]Introduction to basic HTML [Librarian edition]
Introduction to basic HTML [Librarian edition]
Kosie Eloff
 
Html Ppt
Html PptHtml Ppt
Html Ppt
vijayanit
 
Html - Tutorial
Html - TutorialHtml - Tutorial
Html - Tutorial
adelaticleanu
 
html tags
html tagshtml tags
html tags
Kunal gupta
 
Learn HTML Step By Step
Learn HTML Step By StepLearn HTML Step By Step
Learn HTML Step By Step
Satish Chandra
 
Html basics
Html basicsHtml basics
Html basics
Zewaqar Khan
 
Html basics
Html basicsHtml basics
Html basics
Vjay Vijju
 

What's hot (20)

Html tag
Html tagHtml tag
Html tag
 
Basic html
Basic htmlBasic html
Basic html
 
Lecture 2 introduction to html
Lecture 2  introduction to htmlLecture 2  introduction to html
Lecture 2 introduction to html
 
Title, heading and paragraph tags
Title, heading and paragraph tagsTitle, heading and paragraph tags
Title, heading and paragraph tags
 
HTML5 and DHTML
HTML5 and DHTMLHTML5 and DHTML
HTML5 and DHTML
 
Html ppt by Fathima faculty Hasanath college for women bangalore
Html ppt by Fathima faculty Hasanath college for women bangaloreHtml ppt by Fathima faculty Hasanath college for women bangalore
Html ppt by Fathima faculty Hasanath college for women bangalore
 
Learn HTML Easier
Learn HTML EasierLearn HTML Easier
Learn HTML Easier
 
Html1
Html1Html1
Html1
 
Html example
Html exampleHtml example
Html example
 
Html presantation
Html presantationHtml presantation
Html presantation
 
Lectuer html1
Lectuer  html1Lectuer  html1
Lectuer html1
 
Html intro
Html introHtml intro
Html intro
 
Adding text in html
Adding text in htmlAdding text in html
Adding text in html
 
Introduction to basic HTML [Librarian edition]
Introduction to basic HTML [Librarian edition]Introduction to basic HTML [Librarian edition]
Introduction to basic HTML [Librarian edition]
 
Html Ppt
Html PptHtml Ppt
Html Ppt
 
Html - Tutorial
Html - TutorialHtml - Tutorial
Html - Tutorial
 
html tags
html tagshtml tags
html tags
 
Learn HTML Step By Step
Learn HTML Step By StepLearn HTML Step By Step
Learn HTML Step By Step
 
Html basics
Html basicsHtml basics
Html basics
 
Html basics
Html basicsHtml basics
Html basics
 

Viewers also liked

The 99.999 percent cybersecurity problem
The 99.999 percent cybersecurity problemThe 99.999 percent cybersecurity problem
The 99.999 percent cybersecurity problem
Sherry Jones
 
CGA Millennials in the Workforce
CGA Millennials in the WorkforceCGA Millennials in the Workforce
CGA Millennials in the Workforce
Ryan Mekech
 
Java- JDBC- Mazenet Solution
Java- JDBC- Mazenet SolutionJava- JDBC- Mazenet Solution
Java- JDBC- Mazenet Solution
Mazenetsolution
 
The Live Online Class
The Live Online ClassThe Live Online Class
The Live Online Class
Kristen Sosulski
 
Medición del radio terrestre Proyecto Eratóstenes
Medición del radio terrestre Proyecto EratóstenesMedición del radio terrestre Proyecto Eratóstenes
Medición del radio terrestre Proyecto Eratóstenes
Sole Pomilio
 
Html basic
Html basicHtml basic
Html basic
Nital Shingala
 
RESUME
RESUMERESUME
Nassi Shneiderman Diagrams: Algorithms Made Easier (at least a little bit)
Nassi Shneiderman Diagrams: Algorithms Made Easier (at least a little bit)Nassi Shneiderman Diagrams: Algorithms Made Easier (at least a little bit)
Nassi Shneiderman Diagrams: Algorithms Made Easier (at least a little bit)
Richard Schwarz
 
Basic html
Basic htmlBasic html
HTML5 - Just the basics
HTML5 - Just the basicsHTML5 - Just the basics
HTML5 - Just the basics
James VanDyke
 
Computer (Q BASIC)
Computer (Q BASIC) Computer (Q BASIC)
Computer (Q BASIC)
Ujjal Sharma
 
How to Make HTML and CSS Files
How to Make HTML and CSS FilesHow to Make HTML and CSS Files
How to Make HTML and CSS Files
LearningNerd
 
HTML Basic
HTML BasicHTML Basic
HTML Basic
Ryan Chung
 
Introduction to Java programming - Java tutorial for beginners to teach Java ...
Introduction to Java programming - Java tutorial for beginners to teach Java ...Introduction to Java programming - Java tutorial for beginners to teach Java ...
Introduction to Java programming - Java tutorial for beginners to teach Java ...
Duckademy IT courses
 
Learn HTML & CSS From Scratch in 30 Days
Learn HTML & CSS From Scratch in 30 DaysLearn HTML & CSS From Scratch in 30 Days
Learn HTML & CSS From Scratch in 30 Days
Jonathan Grover
 
Abdel Hamied Lotfy cv
Abdel Hamied Lotfy cvAbdel Hamied Lotfy cv
Abdel Hamied Lotfy cv
Abdul hamid Lotfy
 
Introduction to html
Introduction to htmlIntroduction to html
Introduction to html
vikasgaur31
 
Introduction to visual basic programming
Introduction to visual basic programmingIntroduction to visual basic programming
Introduction to visual basic programming
Roger Argarin
 
Praca.pl sytuacja na rynku pracy w I kw.2016 raport
Praca.pl sytuacja na rynku pracy w I kw.2016 raportPraca.pl sytuacja na rynku pracy w I kw.2016 raport
Praca.pl sytuacja na rynku pracy w I kw.2016 raport
Praca.pl
 

Viewers also liked (20)

The 99.999 percent cybersecurity problem
The 99.999 percent cybersecurity problemThe 99.999 percent cybersecurity problem
The 99.999 percent cybersecurity problem
 
CGA Millennials in the Workforce
CGA Millennials in the WorkforceCGA Millennials in the Workforce
CGA Millennials in the Workforce
 
Java- JDBC- Mazenet Solution
Java- JDBC- Mazenet SolutionJava- JDBC- Mazenet Solution
Java- JDBC- Mazenet Solution
 
The Live Online Class
The Live Online ClassThe Live Online Class
The Live Online Class
 
Medición del radio terrestre Proyecto Eratóstenes
Medición del radio terrestre Proyecto EratóstenesMedición del radio terrestre Proyecto Eratóstenes
Medición del radio terrestre Proyecto Eratóstenes
 
Html basic
Html basicHtml basic
Html basic
 
RESUME
RESUMERESUME
RESUME
 
Nassi Shneiderman Diagrams: Algorithms Made Easier (at least a little bit)
Nassi Shneiderman Diagrams: Algorithms Made Easier (at least a little bit)Nassi Shneiderman Diagrams: Algorithms Made Easier (at least a little bit)
Nassi Shneiderman Diagrams: Algorithms Made Easier (at least a little bit)
 
Basic html
Basic htmlBasic html
Basic html
 
HTML5 - Just the basics
HTML5 - Just the basicsHTML5 - Just the basics
HTML5 - Just the basics
 
HTML5 Basic
HTML5 BasicHTML5 Basic
HTML5 Basic
 
Computer (Q BASIC)
Computer (Q BASIC) Computer (Q BASIC)
Computer (Q BASIC)
 
How to Make HTML and CSS Files
How to Make HTML and CSS FilesHow to Make HTML and CSS Files
How to Make HTML and CSS Files
 
HTML Basic
HTML BasicHTML Basic
HTML Basic
 
Introduction to Java programming - Java tutorial for beginners to teach Java ...
Introduction to Java programming - Java tutorial for beginners to teach Java ...Introduction to Java programming - Java tutorial for beginners to teach Java ...
Introduction to Java programming - Java tutorial for beginners to teach Java ...
 
Learn HTML & CSS From Scratch in 30 Days
Learn HTML & CSS From Scratch in 30 DaysLearn HTML & CSS From Scratch in 30 Days
Learn HTML & CSS From Scratch in 30 Days
 
Abdel Hamied Lotfy cv
Abdel Hamied Lotfy cvAbdel Hamied Lotfy cv
Abdel Hamied Lotfy cv
 
Introduction to html
Introduction to htmlIntroduction to html
Introduction to html
 
Introduction to visual basic programming
Introduction to visual basic programmingIntroduction to visual basic programming
Introduction to visual basic programming
 
Praca.pl sytuacja na rynku pracy w I kw.2016 raport
Praca.pl sytuacja na rynku pracy w I kw.2016 raportPraca.pl sytuacja na rynku pracy w I kw.2016 raport
Praca.pl sytuacja na rynku pracy w I kw.2016 raport
 

Similar to Basics of Html

HTML
HTMLHTML
HTML.pdf
HTML.pdfHTML.pdf
HTML.pdf
aneebkmct
 
Html basics NOTE
Html basics NOTEHtml basics NOTE
html.pdf
html.pdfhtml.pdf
html.pdf
ArianSS1
 
Html tutorial
Html tutorialHtml tutorial
Html tutorial
Shankar D
 
Basic HTML
Basic HTMLBasic HTML
Basic HTML
Sayan De
 
Learning html. (Part- 1)
Learning html. (Part- 1)Learning html. (Part- 1)
Learning html. (Part- 1)
manya abrol
 
Html presentation
Html presentationHtml presentation
Html presentation
Amber Bhaumik
 
Html
HtmlHtml
Html (hyper text markup language)
Html (hyper text markup language)Html (hyper text markup language)
Html (hyper text markup language)
Denni Domingo
 
Html tutorial
Html tutorialHtml tutorial
Html tutorial
Hassan Nasir
 
Html tutorial
Html tutorialHtml tutorial
Html tutorial
Vinay Vinnu
 
Html tutorial
Html tutorialHtml tutorial
Basic Html Notes
Basic Html NotesBasic Html Notes
Basic Html Notes
NextGenr
 
Basic Html Knowledge for students
Basic Html Knowledge for studentsBasic Html Knowledge for students
Basic Html Knowledge for students
vethics
 
Introduction to HTML.pptx
Introduction to HTML.pptxIntroduction to HTML.pptx
Introduction to HTML.pptx
VaibhavSingh887876
 
Introduction to HTML
Introduction to HTMLIntroduction to HTML
Introduction to HTML
Shehzad Yaqoob
 
Tm 1st quarter - 1st meeting
Tm   1st quarter - 1st meetingTm   1st quarter - 1st meeting
Tm 1st quarter - 1st meeting
Esmeraldo Jr Guimbarda
 
An introduction to html
An introduction to htmlAn introduction to html
An introduction to html
kashifareed
 
Html basics 1
Html basics 1Html basics 1
Html basics 1
google
 

Similar to Basics of Html (20)

HTML
HTMLHTML
HTML
 
HTML.pdf
HTML.pdfHTML.pdf
HTML.pdf
 
Html basics NOTE
Html basics NOTEHtml basics NOTE
Html basics NOTE
 
html.pdf
html.pdfhtml.pdf
html.pdf
 
Html tutorial
Html tutorialHtml tutorial
Html tutorial
 
Basic HTML
Basic HTMLBasic HTML
Basic HTML
 
Learning html. (Part- 1)
Learning html. (Part- 1)Learning html. (Part- 1)
Learning html. (Part- 1)
 
Html presentation
Html presentationHtml presentation
Html presentation
 
Html
HtmlHtml
Html
 
Html (hyper text markup language)
Html (hyper text markup language)Html (hyper text markup language)
Html (hyper text markup language)
 
Html tutorial
Html tutorialHtml tutorial
Html tutorial
 
Html tutorial
Html tutorialHtml tutorial
Html tutorial
 
Html tutorial
Html tutorialHtml tutorial
Html tutorial
 
Basic Html Notes
Basic Html NotesBasic Html Notes
Basic Html Notes
 
Basic Html Knowledge for students
Basic Html Knowledge for studentsBasic Html Knowledge for students
Basic Html Knowledge for students
 
Introduction to HTML.pptx
Introduction to HTML.pptxIntroduction to HTML.pptx
Introduction to HTML.pptx
 
Introduction to HTML
Introduction to HTMLIntroduction to HTML
Introduction to HTML
 
Tm 1st quarter - 1st meeting
Tm   1st quarter - 1st meetingTm   1st quarter - 1st meeting
Tm 1st quarter - 1st meeting
 
An introduction to html
An introduction to htmlAn introduction to html
An introduction to html
 
Html basics 1
Html basics 1Html basics 1
Html basics 1
 

Recently uploaded

一比一原版(USF毕业证)旧金山大学毕业证如何办理
一比一原版(USF毕业证)旧金山大学毕业证如何办理一比一原版(USF毕业证)旧金山大学毕业证如何办理
一比一原版(USF毕业证)旧金山大学毕业证如何办理
dakas1
 
The Rising Future of CPaaS in the Middle East 2024
The Rising Future of CPaaS in the Middle East 2024The Rising Future of CPaaS in the Middle East 2024
The Rising Future of CPaaS in the Middle East 2024
Yara Milbes
 
Mobile App Development Company In Noida | Drona Infotech
Mobile App Development Company In Noida | Drona InfotechMobile App Development Company In Noida | Drona Infotech
Mobile App Development Company In Noida | Drona Infotech
Drona Infotech
 
一比一原版(sdsu毕业证书)圣地亚哥州立大学毕业证如何办理
一比一原版(sdsu毕业证书)圣地亚哥州立大学毕业证如何办理一比一原版(sdsu毕业证书)圣地亚哥州立大学毕业证如何办理
一比一原版(sdsu毕业证书)圣地亚哥州立大学毕业证如何办理
kgyxske
 
Oracle Database 19c New Features for DBAs and Developers.pptx
Oracle Database 19c New Features for DBAs and Developers.pptxOracle Database 19c New Features for DBAs and Developers.pptx
Oracle Database 19c New Features for DBAs and Developers.pptx
Remote DBA Services
 
KuberTENes Birthday Bash Guadalajara - Introducción a Argo CD
KuberTENes Birthday Bash Guadalajara - Introducción a Argo CDKuberTENes Birthday Bash Guadalajara - Introducción a Argo CD
KuberTENes Birthday Bash Guadalajara - Introducción a Argo CD
rodomar2
 
A Comprehensive Guide on Implementing Real-World Mobile Testing Strategies fo...
A Comprehensive Guide on Implementing Real-World Mobile Testing Strategies fo...A Comprehensive Guide on Implementing Real-World Mobile Testing Strategies fo...
A Comprehensive Guide on Implementing Real-World Mobile Testing Strategies fo...
kalichargn70th171
 
Energy consumption of Database Management - Florina Jonuzi
Energy consumption of Database Management - Florina JonuziEnergy consumption of Database Management - Florina Jonuzi
Energy consumption of Database Management - Florina Jonuzi
Green Software Development
 
Webinar On-Demand: Using Flutter for Embedded
Webinar On-Demand: Using Flutter for EmbeddedWebinar On-Demand: Using Flutter for Embedded
Webinar On-Demand: Using Flutter for Embedded
ICS
 
UI5con 2024 - Bring Your Own Design System
UI5con 2024 - Bring Your Own Design SystemUI5con 2024 - Bring Your Own Design System
UI5con 2024 - Bring Your Own Design System
Peter Muessig
 
Enums On Steroids - let's look at sealed classes !
Enums On Steroids - let's look at sealed classes !Enums On Steroids - let's look at sealed classes !
Enums On Steroids - let's look at sealed classes !
Marcin Chrost
 
DECODING JAVA THREAD DUMPS: MASTER THE ART OF ANALYSIS
DECODING JAVA THREAD DUMPS: MASTER THE ART OF ANALYSISDECODING JAVA THREAD DUMPS: MASTER THE ART OF ANALYSIS
DECODING JAVA THREAD DUMPS: MASTER THE ART OF ANALYSIS
Tier1 app
 
ALGIT - Assembly Line for Green IT - Numbers, Data, Facts
ALGIT - Assembly Line for Green IT - Numbers, Data, FactsALGIT - Assembly Line for Green IT - Numbers, Data, Facts
ALGIT - Assembly Line for Green IT - Numbers, Data, Facts
Green Software Development
 
14 th Edition of International conference on computer vision
14 th Edition of International conference on computer vision14 th Edition of International conference on computer vision
14 th Edition of International conference on computer vision
ShulagnaSarkar2
 
E-commerce Development Services- Hornet Dynamics
E-commerce Development Services- Hornet DynamicsE-commerce Development Services- Hornet Dynamics
E-commerce Development Services- Hornet Dynamics
Hornet Dynamics
 
What’s New in Odoo 17 – A Complete Roadmap
What’s New in Odoo 17 – A Complete RoadmapWhat’s New in Odoo 17 – A Complete Roadmap
What’s New in Odoo 17 – A Complete Roadmap
Envertis Software Solutions
 
All you need to know about Spring Boot and GraalVM
All you need to know about Spring Boot and GraalVMAll you need to know about Spring Boot and GraalVM
All you need to know about Spring Boot and GraalVM
Alina Yurenko
 
Unlock the Secrets to Effortless Video Creation with Invideo: Your Ultimate G...
Unlock the Secrets to Effortless Video Creation with Invideo: Your Ultimate G...Unlock the Secrets to Effortless Video Creation with Invideo: Your Ultimate G...
Unlock the Secrets to Effortless Video Creation with Invideo: Your Ultimate G...
The Third Creative Media
 
Quarter 3 SLRP grade 9.. gshajsbhhaheabh
Quarter 3 SLRP grade 9.. gshajsbhhaheabhQuarter 3 SLRP grade 9.. gshajsbhhaheabh
Quarter 3 SLRP grade 9.. gshajsbhhaheabh
aisafed42
 
E-Invoicing Implementation: A Step-by-Step Guide for Saudi Arabian Companies
E-Invoicing Implementation: A Step-by-Step Guide for Saudi Arabian CompaniesE-Invoicing Implementation: A Step-by-Step Guide for Saudi Arabian Companies
E-Invoicing Implementation: A Step-by-Step Guide for Saudi Arabian Companies
Quickdice ERP
 

Recently uploaded (20)

一比一原版(USF毕业证)旧金山大学毕业证如何办理
一比一原版(USF毕业证)旧金山大学毕业证如何办理一比一原版(USF毕业证)旧金山大学毕业证如何办理
一比一原版(USF毕业证)旧金山大学毕业证如何办理
 
The Rising Future of CPaaS in the Middle East 2024
The Rising Future of CPaaS in the Middle East 2024The Rising Future of CPaaS in the Middle East 2024
The Rising Future of CPaaS in the Middle East 2024
 
Mobile App Development Company In Noida | Drona Infotech
Mobile App Development Company In Noida | Drona InfotechMobile App Development Company In Noida | Drona Infotech
Mobile App Development Company In Noida | Drona Infotech
 
一比一原版(sdsu毕业证书)圣地亚哥州立大学毕业证如何办理
一比一原版(sdsu毕业证书)圣地亚哥州立大学毕业证如何办理一比一原版(sdsu毕业证书)圣地亚哥州立大学毕业证如何办理
一比一原版(sdsu毕业证书)圣地亚哥州立大学毕业证如何办理
 
Oracle Database 19c New Features for DBAs and Developers.pptx
Oracle Database 19c New Features for DBAs and Developers.pptxOracle Database 19c New Features for DBAs and Developers.pptx
Oracle Database 19c New Features for DBAs and Developers.pptx
 
KuberTENes Birthday Bash Guadalajara - Introducción a Argo CD
KuberTENes Birthday Bash Guadalajara - Introducción a Argo CDKuberTENes Birthday Bash Guadalajara - Introducción a Argo CD
KuberTENes Birthday Bash Guadalajara - Introducción a Argo CD
 
A Comprehensive Guide on Implementing Real-World Mobile Testing Strategies fo...
A Comprehensive Guide on Implementing Real-World Mobile Testing Strategies fo...A Comprehensive Guide on Implementing Real-World Mobile Testing Strategies fo...
A Comprehensive Guide on Implementing Real-World Mobile Testing Strategies fo...
 
Energy consumption of Database Management - Florina Jonuzi
Energy consumption of Database Management - Florina JonuziEnergy consumption of Database Management - Florina Jonuzi
Energy consumption of Database Management - Florina Jonuzi
 
Webinar On-Demand: Using Flutter for Embedded
Webinar On-Demand: Using Flutter for EmbeddedWebinar On-Demand: Using Flutter for Embedded
Webinar On-Demand: Using Flutter for Embedded
 
UI5con 2024 - Bring Your Own Design System
UI5con 2024 - Bring Your Own Design SystemUI5con 2024 - Bring Your Own Design System
UI5con 2024 - Bring Your Own Design System
 
Enums On Steroids - let's look at sealed classes !
Enums On Steroids - let's look at sealed classes !Enums On Steroids - let's look at sealed classes !
Enums On Steroids - let's look at sealed classes !
 
DECODING JAVA THREAD DUMPS: MASTER THE ART OF ANALYSIS
DECODING JAVA THREAD DUMPS: MASTER THE ART OF ANALYSISDECODING JAVA THREAD DUMPS: MASTER THE ART OF ANALYSIS
DECODING JAVA THREAD DUMPS: MASTER THE ART OF ANALYSIS
 
ALGIT - Assembly Line for Green IT - Numbers, Data, Facts
ALGIT - Assembly Line for Green IT - Numbers, Data, FactsALGIT - Assembly Line for Green IT - Numbers, Data, Facts
ALGIT - Assembly Line for Green IT - Numbers, Data, Facts
 
14 th Edition of International conference on computer vision
14 th Edition of International conference on computer vision14 th Edition of International conference on computer vision
14 th Edition of International conference on computer vision
 
E-commerce Development Services- Hornet Dynamics
E-commerce Development Services- Hornet DynamicsE-commerce Development Services- Hornet Dynamics
E-commerce Development Services- Hornet Dynamics
 
What’s New in Odoo 17 – A Complete Roadmap
What’s New in Odoo 17 – A Complete RoadmapWhat’s New in Odoo 17 – A Complete Roadmap
What’s New in Odoo 17 – A Complete Roadmap
 
All you need to know about Spring Boot and GraalVM
All you need to know about Spring Boot and GraalVMAll you need to know about Spring Boot and GraalVM
All you need to know about Spring Boot and GraalVM
 
Unlock the Secrets to Effortless Video Creation with Invideo: Your Ultimate G...
Unlock the Secrets to Effortless Video Creation with Invideo: Your Ultimate G...Unlock the Secrets to Effortless Video Creation with Invideo: Your Ultimate G...
Unlock the Secrets to Effortless Video Creation with Invideo: Your Ultimate G...
 
Quarter 3 SLRP grade 9.. gshajsbhhaheabh
Quarter 3 SLRP grade 9.. gshajsbhhaheabhQuarter 3 SLRP grade 9.. gshajsbhhaheabh
Quarter 3 SLRP grade 9.. gshajsbhhaheabh
 
E-Invoicing Implementation: A Step-by-Step Guide for Saudi Arabian Companies
E-Invoicing Implementation: A Step-by-Step Guide for Saudi Arabian CompaniesE-Invoicing Implementation: A Step-by-Step Guide for Saudi Arabian Companies
E-Invoicing Implementation: A Step-by-Step Guide for Saudi Arabian Companies
 

Basics of Html

  • 2. What does HTML Stand for? • Hyper • Text • Markup • Language
  • 3. Is HTML a programming language? (That’s a No.)
  • 4. What is it then? Unlike with a programming language, all you can do with HTML is format information. In this sense, you use HTML for layout tasks. To cover this weakness, HTML coders use other languages, like Javascript, to do complex tasks that require programming. So do you program in HTML? HTML is a formatting language. No. You write HTML code. (I.E. you code HTML)
  • 5. How does HTML work? • Since all HTML can do is manage the layout of information, it’s not that hard to use. • An HTML document has two kinds of information in it • Information (Text, etc.) • HTML code to format that information
  • 6. So what is HTML code like? HTML is a tag-based language. That means that HTML code is made out of little pieces, called tags, with a particular structure. They surround information that they manipulate. Generally, if you have an HTML tag called TAGX, it consists of two parts: • An opening tag, <TAGX> • A closing tag, </TAGX>
  • 7. How do these tags work? The tags surround a piece of information that they are designed to have a formatting effect on. For example, if we have a piece of text, “I like to paint xylophones while flying a hang glider.” and we want to make it bold, we can use an HTML tag, <b> to do this. <b> I like to paint xylophones while flying a hang glider.</b> shows up like this in a browser: I like to paint xylophones while flying a hang glider.
  • 8. Notice that in our previous example, all of the text was inside of the bold tags, <b> I like to paint xylophones while flying a hang glider.</b> meaning that all of it was put into bold. If I only wanted to bold part of it, however, I could put only part of it inside the tags, like this. I like to paint <b>xylophones </b> while flying a hang glider. This would produce: I like to paint xylophones while flying a hang glider.
  • 9. Basic Tags The most basic tag is the <html> tag. This tag appears at the beginning of every HTML document (.html or .htm) and the corresponding closing tag, </html>, appears at the end of every HTML document. So so far we have: <html> ***some HTML code and information*** </html>
  • 10. Basic Tags pt 2 Every HTML document is divided into 2 parts: a head and a body. The head contains information about the document, like the title, and the body contains most of the actual code and information. The tags are: <head> and <body>. So so far we have: <html> <head>***HTML code and information***</head> <body> ***HTML code and information*** </body> </html>
  • 11. <head> Inside the <head> tags you can put a lot of different tags and information, but for now we’ll only worry about one thing: the <title> tag. This tag allows you to specify the text that appears at the top of the browser window. <html> <head> <title> My Happy Page </title> ***more HTML code and information*** </head> …etc
  • 12. <body> Things that go inside of the body tags include: •Text •Images •Links •Multimedia and such. Let’s focus on text for now.
  • 13. Text-related Tags The first text-related tag we’ll look at is a header tag. Header tags are used to mark text that heads a section, usually by making it larger. We’ll start with the largest one, <h1>. Try adding <h1> Some Text </h1> into the body of your document, like this: …. <body> <h1> Some Text </h1> </body> </html>
  • 14. Text-related Tags pt 2 Header tags come in several sizes, from <h1> down to <h6>. Try changing the tag to <h3> and comparing the size. <html> <head> <title> … </title> </head> <body> <h3> Some Text </h3> </body> </html> An additional benefit of header tags is that they add a line break.
  • 15. Text-related Tags pt 3 We’d like to add several lines of text. To do this we just type the text, like this: <html> <head> <title> … </title> </head> <body> <h1> Some Text </h1> This is line 1 of the text. This is line 2 of the text. </body> </html> What’s the problem with this?
  • 16. Text-related Tags pt 4 The two lines of text are run together. We’d like to put text on a new line. The solution? The <br> tag. <br> stands for break, as in line break. <br> is also an exception in that it doesn’t have a closing tag. <html> <head> <title> … </title> </head> <body> <h1> Some Text </h1> This is line 1 of the text. <br>This is line 2 of the text. </body> </html>
  • 17. Text-related Tags pt 5 What if we have a lot of text in separate paragraphs? Should we just use a lot of <br> s? Well, we could…. But what we should really use is the paragraph tag, <p>. The paragraph tag is roughly equivalent to 2 <br> s, and it has a closing tag, </p> <p> Paragraph 1 </p> <p> Paragraph 2 </p>
  • 18. Text-related Tags pt 6 So now we have text nicely formatted into paragraphs. What if we want to emphasize some of it by underlining, italicizing, or bolding it? Well, we’ve already seen the bold tag, <b>. Similarly, <i> is the tag for italics and <u> is the tag for underlining. All three of these can be used at once if you want, or just by themselves. This <u>sentence is <i>way <b>confusing</b></i>. </u> shows up as: This sentence is way confusing.
  • 19. <html> <head> <title> That’s it for now. </title> </head> <body> <p>But more later!</p> </body> </html>