SlideShare a Scribd company logo
LIFESKILLS COMPUTER
TRAINING AND
CONSULTING
PRESENTS
LIMITED
HTML BASICS
LifeSkills Computer Training and Consulting Limited. Get Skill Get Life
HTML TAGS
HTML tags are formatting instructions that tell a browser how
to transform ordinary text into something visually appealing. If
you were to take all the tags out of an HTML document, the
resulting page would consist of nothing more than plain,
unformatted text.
You can recognize a tag by looking for angle brackets, two
you
the
use
special characters that look like this: < >. To create a tag,
type HTML code between the brackets. This code is for
browser’s eyes only; web visitors never see it (unless they
the View➝Source trick to peek at the HTML).
LifeSkills Computer Training and Consulting Limited. Get Skill Get Life
HTML
For example, one simple
TAGS
the <b> tag, which stands
tag is for
“bold” (tag names are always lowercase). When a browser
encounters this tag, it switches on boldface formatting, which
affects all the text that follows the tag.
On its own, the <b> tag isn’t quite good enough; it’s known as a
start tag, which means it switches on some effect (in this case,
bold lettering). Most start tags are paired with a matching end
tag that switches off the effect. You can easily recognize an end
tag. They look the same as start tags, except that they begin
with a forward slash. They look like this </ instead of like this <.
LifeSkills Computer Training and Consulting Limited. Get Skill Get Life
HTML TAGS
So the end tag for bold formatting is </b>. Here’s an example:
This isn't bold.
normal.
<b>Pay attention!</b> Now we're back to
Which a browser displays as:
This isn’t bold. Pay attention! Now we’re back to normal.
LifeSkills Computer Training and Consulting Limited. Get Skill Get Life
OTHER
(a) Basic Block Level Elements
HTML ELEMENTS
(1)
(2)
LifeSkills Computer Training and Consulting Limited. Get Skill Get Life
OTHER HTML
(a) Block Level Elements (continued)
ELEMENTS
(3)
(4)
LifeSkills Computer Training and Consulting Limited. Get Skill Get Life
OTHER
(b) Basic Inline Elements
HTML ELEMENTS
(1)
(2)
LifeSkills Computer Training and Consulting Limited. Get Skill Get Life
OTHER HTML
(b) Basic Inline Elements (continued)
ELEMENTS
(3)
(4)
LifeSkills Computer Training and Consulting Limited. Get Skill Get Life
NESTING ELEMENTS
You can also nest one element inside another. In fact, nesting
elements is one of the basic building block techniques of web pages.
The question is, what happens if you want to make a piece of
bold and italicized? HTML doesn’t include a single element for
purpose, so you need to combine the two. Here’s an example:
This <b><i>word</i></b> has italic and bold formatting.
text
this
When a browser see these tags, it produces text that looks
this:
This word has italic and bold formatting.
like
Note: Nesting elements follow LIFO rule i. e. LAST IN FIRST OUT
LifeSkills Computer Training and Consulting Limited. Get Skill Get Life
The Basic Skeleton of HTML Page
<!DOCTYPE
<html>
<head>
...
</head>
<body>
...
</body>
</html>
html>
Every web page uses this basic framework. The ellipsis (…) shows
where you insert additional information.
LifeSkills Computer Training and Consulting Limited. Get Skill Get Life
The Basic Skeleton of HTML Page
To create a true HTML document, you start with Document Type
Definition (DTD) and three container elements: <html>, <head>,
and <body>. These three elements work together to describe the
use
basic structure of your page. Today, most web developers
the HTML5 doctype, which looks like this:
<!DOCTYPE html>
The document type definition (DTD) is the first piece of
information in an HTML file. It tells the browser what markup
standard you used to write the page.
LifeSkills Computer Training and Consulting Limited. Get Skill Get Life
The Basic
For comparison, here’s
1.0, which you’re likely
Skeleton of HTML Page
the much wordier doctype for XHTML
to spot in slightly older web pages:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
Even seasoned web developers had to copy the XHTML 1.0
doctype from an existing web page to avoid typing it in wrong.
In this training, we are going to use the HTML5 doctype.
LifeSkills Computer Training and Consulting Limited. Get Skill Get Life
The Basic Skeleton of HTML Page
<html>
This element
web page.
<head>
wraps everything (other than the doctype) in your
This element designates the header portion of your document.
The header can include some optional information about your
web page, including the
bar),
required
optional
title (which your browser
displays in its title search keywords, and an
optional style sheet
<body>
This element holds the meat of your web page, including the
actual content you want to display to the world.
LifeSkills Computer Training and Consulting Limited. Get Skill Get Life
An
<!DOCTYPE html>
<html>
<head>
Example HTML Page
<title>Everything
</head>
<body>
<p></p>
</body>
</html>
I Know About Web Design</title>
LifeSkills Computer Training and Consulting Limited. Get Skill Get Life
The Basic Skeleton of HTML Page
<title>
This element sets the title for your web page. The title plays several roles.
First, web browsers display the title at the top of the browser window.
Second, when a web visitor bookmarks your page, the browser uses the
title to label the bookmark in your Bookmark (or Favorites) menu. Third,
when your page turns up in a web search, the search engine usually
displays this title as the first line in the search results, followed by a
snippet of content from the page.
<p>
This indicates a paragraph. Web browsers don’t indent paragraphs, but
they do add a little space between consecutive paragraphs to keep them
separated.
LifeSkills Computer Training and Consulting Limited. Get Skill Get Life

More Related Content

Similar to TOPIC 2 - HTML BASICS.pptx

Html basics
Html basicsHtml basics
Html basics
Yernur Kassymbayev
 
Html basics
Html basicsHtml basics
Html basics
Zewaqar Khan
 
Html basics
Html basicsHtml basics
Html basics
Adityaroy110
 
Html basics
Html basicsHtml basics
Html - Tutorial
Html - TutorialHtml - Tutorial
Html - Tutorial
adelaticleanu
 
Html basics NOTE
Html basics NOTEHtml basics NOTE
html complete notes
html complete noteshtml complete notes
html complete notes
onactiontv
 
html compete notes basic to advanced
html compete notes basic to advancedhtml compete notes basic to advanced
html compete notes basic to advanced
virtualworld14
 
Let me design
Let me designLet me design
Let me design
Anurag Deb
 
Html
HtmlHtml
Html tutorial
Html tutorialHtml tutorial
Html tutorial
Hassan Nasir
 
Html tutorial
Html tutorialHtml tutorial
Html tutorial
Vinay Vinnu
 
Html tutorial
Html tutorialHtml tutorial
Internet programming notes
Internet programming notesInternet programming notes
Internet programming notes
Durgadevi palani
 
Html beginners tutorial
Html beginners tutorialHtml beginners tutorial
Html beginners tutorial
nikhilsh66131
 
Html basics
Html basicsHtml basics
Html basics
Ramesh Kumar
 
HTML Notes And Some Attributes
HTML Notes And Some AttributesHTML Notes And Some Attributes
HTML Notes And Some Attributes
HIFZUR RAHMAN
 
An Seo’s Intro to Web Dev, HTML, CSS and JavaScript
An Seo’s Intro to Web Dev, HTML, CSS and JavaScriptAn Seo’s Intro to Web Dev, HTML, CSS and JavaScript
An Seo’s Intro to Web Dev, HTML, CSS and JavaScript
Troyfawkes
 
HTML and DHTML
HTML and DHTMLHTML and DHTML
HTML and DHTML
SURBHI SAROHA
 
HTML Tutorial
HTML TutorialHTML Tutorial
HTML Tutorial
Milecia McGregor
 

Similar to TOPIC 2 - HTML BASICS.pptx (20)

Html basics
Html basicsHtml basics
Html basics
 
Html basics
Html basicsHtml basics
Html basics
 
Html basics
Html basicsHtml basics
Html basics
 
Html basics
Html basicsHtml basics
Html basics
 
Html - Tutorial
Html - TutorialHtml - Tutorial
Html - Tutorial
 
Html basics NOTE
Html basics NOTEHtml basics NOTE
Html basics NOTE
 
html complete notes
html complete noteshtml complete notes
html complete notes
 
html compete notes basic to advanced
html compete notes basic to advancedhtml compete notes basic to advanced
html compete notes basic to advanced
 
Let me design
Let me designLet me design
Let me design
 
Html
HtmlHtml
Html
 
Html tutorial
Html tutorialHtml tutorial
Html tutorial
 
Html tutorial
Html tutorialHtml tutorial
Html tutorial
 
Html tutorial
Html tutorialHtml tutorial
Html tutorial
 
Internet programming notes
Internet programming notesInternet programming notes
Internet programming notes
 
Html beginners tutorial
Html beginners tutorialHtml beginners tutorial
Html beginners tutorial
 
Html basics
Html basicsHtml basics
Html basics
 
HTML Notes And Some Attributes
HTML Notes And Some AttributesHTML Notes And Some Attributes
HTML Notes And Some Attributes
 
An Seo’s Intro to Web Dev, HTML, CSS and JavaScript
An Seo’s Intro to Web Dev, HTML, CSS and JavaScriptAn Seo’s Intro to Web Dev, HTML, CSS and JavaScript
An Seo’s Intro to Web Dev, HTML, CSS and JavaScript
 
HTML and DHTML
HTML and DHTMLHTML and DHTML
HTML and DHTML
 
HTML Tutorial
HTML TutorialHTML Tutorial
HTML Tutorial
 

Recently uploaded

The Building Blocks of QuestDB, a Time Series Database
The Building Blocks of QuestDB, a Time Series DatabaseThe Building Blocks of QuestDB, a Time Series Database
The Building Blocks of QuestDB, a Time Series Database
javier ramirez
 
ViewShift: Hassle-free Dynamic Policy Enforcement for Every Data Lake
ViewShift: Hassle-free Dynamic Policy Enforcement for Every Data LakeViewShift: Hassle-free Dynamic Policy Enforcement for Every Data Lake
ViewShift: Hassle-free Dynamic Policy Enforcement for Every Data Lake
Walaa Eldin Moustafa
 
06-04-2024 - NYC Tech Week - Discussion on Vector Databases, Unstructured Dat...
06-04-2024 - NYC Tech Week - Discussion on Vector Databases, Unstructured Dat...06-04-2024 - NYC Tech Week - Discussion on Vector Databases, Unstructured Dat...
06-04-2024 - NYC Tech Week - Discussion on Vector Databases, Unstructured Dat...
Timothy Spann
 
一比一原版(牛布毕业证书)牛津布鲁克斯大学毕业证如何办理
一比一原版(牛布毕业证书)牛津布鲁克斯大学毕业证如何办理一比一原版(牛布毕业证书)牛津布鲁克斯大学毕业证如何办理
一比一原版(牛布毕业证书)牛津布鲁克斯大学毕业证如何办理
74nqk8xf
 
一比一原版(CBU毕业证)卡普顿大学毕业证如何办理
一比一原版(CBU毕业证)卡普顿大学毕业证如何办理一比一原版(CBU毕业证)卡普顿大学毕业证如何办理
一比一原版(CBU毕业证)卡普顿大学毕业证如何办理
ahzuo
 
在线办理(英国UCA毕业证书)创意艺术大学毕业证在读证明一模一样
在线办理(英国UCA毕业证书)创意艺术大学毕业证在读证明一模一样在线办理(英国UCA毕业证书)创意艺术大学毕业证在读证明一模一样
在线办理(英国UCA毕业证书)创意艺术大学毕业证在读证明一模一样
v7oacc3l
 
Global Situational Awareness of A.I. and where its headed
Global Situational Awareness of A.I. and where its headedGlobal Situational Awareness of A.I. and where its headed
Global Situational Awareness of A.I. and where its headed
vikram sood
 
一比一原版(UofS毕业证书)萨省大学毕业证如何办理
一比一原版(UofS毕业证书)萨省大学毕业证如何办理一比一原版(UofS毕业证书)萨省大学毕业证如何办理
一比一原版(UofS毕业证书)萨省大学毕业证如何办理
v3tuleee
 
Natural Language Processing (NLP), RAG and its applications .pptx
Natural Language Processing (NLP), RAG and its applications .pptxNatural Language Processing (NLP), RAG and its applications .pptx
Natural Language Processing (NLP), RAG and its applications .pptx
fkyes25
 
一比一原版(Adelaide毕业证书)阿德莱德大学毕业证如何办理
一比一原版(Adelaide毕业证书)阿德莱德大学毕业证如何办理一比一原版(Adelaide毕业证书)阿德莱德大学毕业证如何办理
一比一原版(Adelaide毕业证书)阿德莱德大学毕业证如何办理
slg6lamcq
 
Palo Alto Cortex XDR presentation .......
Palo Alto Cortex XDR presentation .......Palo Alto Cortex XDR presentation .......
Palo Alto Cortex XDR presentation .......
Sachin Paul
 
4th Modern Marketing Reckoner by MMA Global India & Group M: 60+ experts on W...
4th Modern Marketing Reckoner by MMA Global India & Group M: 60+ experts on W...4th Modern Marketing Reckoner by MMA Global India & Group M: 60+ experts on W...
4th Modern Marketing Reckoner by MMA Global India & Group M: 60+ experts on W...
Social Samosa
 
State of Artificial intelligence Report 2023
State of Artificial intelligence Report 2023State of Artificial intelligence Report 2023
State of Artificial intelligence Report 2023
kuntobimo2016
 
一比一原版(Harvard毕业证书)哈佛大学毕业证如何办理
一比一原版(Harvard毕业证书)哈佛大学毕业证如何办理一比一原版(Harvard毕业证书)哈佛大学毕业证如何办理
一比一原版(Harvard毕业证书)哈佛大学毕业证如何办理
zsjl4mimo
 
The Ipsos - AI - Monitor 2024 Report.pdf
The  Ipsos - AI - Monitor 2024 Report.pdfThe  Ipsos - AI - Monitor 2024 Report.pdf
The Ipsos - AI - Monitor 2024 Report.pdf
Social Samosa
 
一比一原版(BCU毕业证书)伯明翰城市大学毕业证如何办理
一比一原版(BCU毕业证书)伯明翰城市大学毕业证如何办理一比一原版(BCU毕业证书)伯明翰城市大学毕业证如何办理
一比一原版(BCU毕业证书)伯明翰城市大学毕业证如何办理
dwreak4tg
 
Beyond the Basics of A/B Tests: Highly Innovative Experimentation Tactics You...
Beyond the Basics of A/B Tests: Highly Innovative Experimentation Tactics You...Beyond the Basics of A/B Tests: Highly Innovative Experimentation Tactics You...
Beyond the Basics of A/B Tests: Highly Innovative Experimentation Tactics You...
Aggregage
 
06-04-2024 - NYC Tech Week - Discussion on Vector Databases, Unstructured Dat...
06-04-2024 - NYC Tech Week - Discussion on Vector Databases, Unstructured Dat...06-04-2024 - NYC Tech Week - Discussion on Vector Databases, Unstructured Dat...
06-04-2024 - NYC Tech Week - Discussion on Vector Databases, Unstructured Dat...
Timothy Spann
 
Learn SQL from basic queries to Advance queries
Learn SQL from basic queries to Advance queriesLearn SQL from basic queries to Advance queries
Learn SQL from basic queries to Advance queries
manishkhaire30
 
一比一原版(UO毕业证)渥太华大学毕业证如何办理
一比一原版(UO毕业证)渥太华大学毕业证如何办理一比一原版(UO毕业证)渥太华大学毕业证如何办理
一比一原版(UO毕业证)渥太华大学毕业证如何办理
aqzctr7x
 

Recently uploaded (20)

The Building Blocks of QuestDB, a Time Series Database
The Building Blocks of QuestDB, a Time Series DatabaseThe Building Blocks of QuestDB, a Time Series Database
The Building Blocks of QuestDB, a Time Series Database
 
ViewShift: Hassle-free Dynamic Policy Enforcement for Every Data Lake
ViewShift: Hassle-free Dynamic Policy Enforcement for Every Data LakeViewShift: Hassle-free Dynamic Policy Enforcement for Every Data Lake
ViewShift: Hassle-free Dynamic Policy Enforcement for Every Data Lake
 
06-04-2024 - NYC Tech Week - Discussion on Vector Databases, Unstructured Dat...
06-04-2024 - NYC Tech Week - Discussion on Vector Databases, Unstructured Dat...06-04-2024 - NYC Tech Week - Discussion on Vector Databases, Unstructured Dat...
06-04-2024 - NYC Tech Week - Discussion on Vector Databases, Unstructured Dat...
 
一比一原版(牛布毕业证书)牛津布鲁克斯大学毕业证如何办理
一比一原版(牛布毕业证书)牛津布鲁克斯大学毕业证如何办理一比一原版(牛布毕业证书)牛津布鲁克斯大学毕业证如何办理
一比一原版(牛布毕业证书)牛津布鲁克斯大学毕业证如何办理
 
一比一原版(CBU毕业证)卡普顿大学毕业证如何办理
一比一原版(CBU毕业证)卡普顿大学毕业证如何办理一比一原版(CBU毕业证)卡普顿大学毕业证如何办理
一比一原版(CBU毕业证)卡普顿大学毕业证如何办理
 
在线办理(英国UCA毕业证书)创意艺术大学毕业证在读证明一模一样
在线办理(英国UCA毕业证书)创意艺术大学毕业证在读证明一模一样在线办理(英国UCA毕业证书)创意艺术大学毕业证在读证明一模一样
在线办理(英国UCA毕业证书)创意艺术大学毕业证在读证明一模一样
 
Global Situational Awareness of A.I. and where its headed
Global Situational Awareness of A.I. and where its headedGlobal Situational Awareness of A.I. and where its headed
Global Situational Awareness of A.I. and where its headed
 
一比一原版(UofS毕业证书)萨省大学毕业证如何办理
一比一原版(UofS毕业证书)萨省大学毕业证如何办理一比一原版(UofS毕业证书)萨省大学毕业证如何办理
一比一原版(UofS毕业证书)萨省大学毕业证如何办理
 
Natural Language Processing (NLP), RAG and its applications .pptx
Natural Language Processing (NLP), RAG and its applications .pptxNatural Language Processing (NLP), RAG and its applications .pptx
Natural Language Processing (NLP), RAG and its applications .pptx
 
一比一原版(Adelaide毕业证书)阿德莱德大学毕业证如何办理
一比一原版(Adelaide毕业证书)阿德莱德大学毕业证如何办理一比一原版(Adelaide毕业证书)阿德莱德大学毕业证如何办理
一比一原版(Adelaide毕业证书)阿德莱德大学毕业证如何办理
 
Palo Alto Cortex XDR presentation .......
Palo Alto Cortex XDR presentation .......Palo Alto Cortex XDR presentation .......
Palo Alto Cortex XDR presentation .......
 
4th Modern Marketing Reckoner by MMA Global India & Group M: 60+ experts on W...
4th Modern Marketing Reckoner by MMA Global India & Group M: 60+ experts on W...4th Modern Marketing Reckoner by MMA Global India & Group M: 60+ experts on W...
4th Modern Marketing Reckoner by MMA Global India & Group M: 60+ experts on W...
 
State of Artificial intelligence Report 2023
State of Artificial intelligence Report 2023State of Artificial intelligence Report 2023
State of Artificial intelligence Report 2023
 
一比一原版(Harvard毕业证书)哈佛大学毕业证如何办理
一比一原版(Harvard毕业证书)哈佛大学毕业证如何办理一比一原版(Harvard毕业证书)哈佛大学毕业证如何办理
一比一原版(Harvard毕业证书)哈佛大学毕业证如何办理
 
The Ipsos - AI - Monitor 2024 Report.pdf
The  Ipsos - AI - Monitor 2024 Report.pdfThe  Ipsos - AI - Monitor 2024 Report.pdf
The Ipsos - AI - Monitor 2024 Report.pdf
 
一比一原版(BCU毕业证书)伯明翰城市大学毕业证如何办理
一比一原版(BCU毕业证书)伯明翰城市大学毕业证如何办理一比一原版(BCU毕业证书)伯明翰城市大学毕业证如何办理
一比一原版(BCU毕业证书)伯明翰城市大学毕业证如何办理
 
Beyond the Basics of A/B Tests: Highly Innovative Experimentation Tactics You...
Beyond the Basics of A/B Tests: Highly Innovative Experimentation Tactics You...Beyond the Basics of A/B Tests: Highly Innovative Experimentation Tactics You...
Beyond the Basics of A/B Tests: Highly Innovative Experimentation Tactics You...
 
06-04-2024 - NYC Tech Week - Discussion on Vector Databases, Unstructured Dat...
06-04-2024 - NYC Tech Week - Discussion on Vector Databases, Unstructured Dat...06-04-2024 - NYC Tech Week - Discussion on Vector Databases, Unstructured Dat...
06-04-2024 - NYC Tech Week - Discussion on Vector Databases, Unstructured Dat...
 
Learn SQL from basic queries to Advance queries
Learn SQL from basic queries to Advance queriesLearn SQL from basic queries to Advance queries
Learn SQL from basic queries to Advance queries
 
一比一原版(UO毕业证)渥太华大学毕业证如何办理
一比一原版(UO毕业证)渥太华大学毕业证如何办理一比一原版(UO毕业证)渥太华大学毕业证如何办理
一比一原版(UO毕业证)渥太华大学毕业证如何办理
 

TOPIC 2 - HTML BASICS.pptx

  • 1. LIFESKILLS COMPUTER TRAINING AND CONSULTING PRESENTS LIMITED HTML BASICS LifeSkills Computer Training and Consulting Limited. Get Skill Get Life
  • 2. HTML TAGS HTML tags are formatting instructions that tell a browser how to transform ordinary text into something visually appealing. If you were to take all the tags out of an HTML document, the resulting page would consist of nothing more than plain, unformatted text. You can recognize a tag by looking for angle brackets, two you the use special characters that look like this: < >. To create a tag, type HTML code between the brackets. This code is for browser’s eyes only; web visitors never see it (unless they the View➝Source trick to peek at the HTML). LifeSkills Computer Training and Consulting Limited. Get Skill Get Life
  • 3. HTML For example, one simple TAGS the <b> tag, which stands tag is for “bold” (tag names are always lowercase). When a browser encounters this tag, it switches on boldface formatting, which affects all the text that follows the tag. On its own, the <b> tag isn’t quite good enough; it’s known as a start tag, which means it switches on some effect (in this case, bold lettering). Most start tags are paired with a matching end tag that switches off the effect. You can easily recognize an end tag. They look the same as start tags, except that they begin with a forward slash. They look like this </ instead of like this <. LifeSkills Computer Training and Consulting Limited. Get Skill Get Life
  • 4. HTML TAGS So the end tag for bold formatting is </b>. Here’s an example: This isn't bold. normal. <b>Pay attention!</b> Now we're back to Which a browser displays as: This isn’t bold. Pay attention! Now we’re back to normal. LifeSkills Computer Training and Consulting Limited. Get Skill Get Life
  • 5. OTHER (a) Basic Block Level Elements HTML ELEMENTS (1) (2) LifeSkills Computer Training and Consulting Limited. Get Skill Get Life
  • 6. OTHER HTML (a) Block Level Elements (continued) ELEMENTS (3) (4) LifeSkills Computer Training and Consulting Limited. Get Skill Get Life
  • 7. OTHER (b) Basic Inline Elements HTML ELEMENTS (1) (2) LifeSkills Computer Training and Consulting Limited. Get Skill Get Life
  • 8. OTHER HTML (b) Basic Inline Elements (continued) ELEMENTS (3) (4) LifeSkills Computer Training and Consulting Limited. Get Skill Get Life
  • 9. NESTING ELEMENTS You can also nest one element inside another. In fact, nesting elements is one of the basic building block techniques of web pages. The question is, what happens if you want to make a piece of bold and italicized? HTML doesn’t include a single element for purpose, so you need to combine the two. Here’s an example: This <b><i>word</i></b> has italic and bold formatting. text this When a browser see these tags, it produces text that looks this: This word has italic and bold formatting. like Note: Nesting elements follow LIFO rule i. e. LAST IN FIRST OUT LifeSkills Computer Training and Consulting Limited. Get Skill Get Life
  • 10. The Basic Skeleton of HTML Page <!DOCTYPE <html> <head> ... </head> <body> ... </body> </html> html> Every web page uses this basic framework. The ellipsis (…) shows where you insert additional information. LifeSkills Computer Training and Consulting Limited. Get Skill Get Life
  • 11. The Basic Skeleton of HTML Page To create a true HTML document, you start with Document Type Definition (DTD) and three container elements: <html>, <head>, and <body>. These three elements work together to describe the use basic structure of your page. Today, most web developers the HTML5 doctype, which looks like this: <!DOCTYPE html> The document type definition (DTD) is the first piece of information in an HTML file. It tells the browser what markup standard you used to write the page. LifeSkills Computer Training and Consulting Limited. Get Skill Get Life
  • 12. The Basic For comparison, here’s 1.0, which you’re likely Skeleton of HTML Page the much wordier doctype for XHTML to spot in slightly older web pages: <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> Even seasoned web developers had to copy the XHTML 1.0 doctype from an existing web page to avoid typing it in wrong. In this training, we are going to use the HTML5 doctype. LifeSkills Computer Training and Consulting Limited. Get Skill Get Life
  • 13. The Basic Skeleton of HTML Page <html> This element web page. <head> wraps everything (other than the doctype) in your This element designates the header portion of your document. The header can include some optional information about your web page, including the bar), required optional title (which your browser displays in its title search keywords, and an optional style sheet <body> This element holds the meat of your web page, including the actual content you want to display to the world. LifeSkills Computer Training and Consulting Limited. Get Skill Get Life
  • 14. An <!DOCTYPE html> <html> <head> Example HTML Page <title>Everything </head> <body> <p></p> </body> </html> I Know About Web Design</title> LifeSkills Computer Training and Consulting Limited. Get Skill Get Life
  • 15. The Basic Skeleton of HTML Page <title> This element sets the title for your web page. The title plays several roles. First, web browsers display the title at the top of the browser window. Second, when a web visitor bookmarks your page, the browser uses the title to label the bookmark in your Bookmark (or Favorites) menu. Third, when your page turns up in a web search, the search engine usually displays this title as the first line in the search results, followed by a snippet of content from the page. <p> This indicates a paragraph. Web browsers don’t indent paragraphs, but they do add a little space between consecutive paragraphs to keep them separated. LifeSkills Computer Training and Consulting Limited. Get Skill Get Life