SlideShare ist ein Scribd-Unternehmen logo
Raheescv
raheescv1992@gmail.com
www.facebook.com/raheescv
twitter.com/raheescv
in.linkedin.com/in/raheescv
09633155669
HTML Basics
Disclaimer: This presentation is prepared by trainees of
baabtra as a part of mentoring program. This is not official
document of baabtra –Mentoring Partner
Baabtra-Mentoring Partner is the mentoring division of baabte System Technologies Pvt . Ltd
HTML
• Hyper Text Markup Language
– The Language of Web Pages on the World Wide Web.
• Text formatting language.
• A simple markup languages.
– Markup:
 Embedded codes in documents
 Codes are called `tags’
 Codes
Describe the structure documents
Include instructions for processing
Structure of HTML
• All HTML documents start with <HTML> and end
with </HTML>
• Every HTML webpage has 2 sections which are denoted
by HTML tags
– <Head>
– <Body>
• The Head section will always open & close before the
Body section opens
HTML Tag section
• HTML markup tags are usually called HTML tags
• Tags are written within angle brackets( < > )that describe
the way you want content to appear on a page
<Tagname>Content</Tagname>
• The browser does not display the HTML tags
• Tags are not case sensitive
• Tags order matters
• <em><strong>hallow Baabta</strong></em>
HTML page
• <!DOCTYPE HTML>
• <html>
• <head>
• <h1> <title>Baabtra World</title></h1>
• </head>
• <body>
• <p>hallow baabtra</p>
• </body>
• </html> show
• <!DOCTYPE HTML>
• <html>
• <head>
• <h1> <title>Baabtra World</title></h1>
• </head>
• <body>
• <p>hallow baabtra</p>
• </body>
• </html>
HTML header
• <!DOCTYPE HTML>
• <html>
• <head>
• <h1> <title>Baabtra World</title></h1>
• </head>
• <body>
• <p>hallow baabtra</p>
• </body>
• </html>
HTML body
HTML Head section
• This section always begins with <head> and ends with
</head>
• This section will not be visible in the body of the web
browser
• The name of the webpage that appears in the title bar is
placed in this section
• Example: <title>My First Page</title>
HTML body section
• Information displayed in this section will be displayed in the body
of the web browser
• The closing body tag will always proceed the closing HTML tag.
HTML heading tags
• Inside the BODY element, heading elements H1 through
H6 are generally used for major divisions of the document
• H1: should be used as the highest level of heading
• H2 as the next highest,…..
• H6 is the smallest heading…
• example
HTML Paragraph tags
• HTML paragraphs are defined with the <p> tag.
• example
Character formating
• Change the color and size of your text
• Align your text
• some examples are
 <B> Bold </B>
 <I> Italic </I>
 <U> Underline </U>
<b></b> bold
<i></i> italicized
<u></u> underlined
<sup></sup> Samplesuperscript
<sub></sub> Samplesubscript
<strong></strong> strong
<em></em> emphasized
<pre></pre> Preformatted text
<blockquote></blockquote> Quoted text block
<del></del> Deleted text – strike through
HTML Hyperlink Tags
• HTML links are defined with the <a> tag.
• which is used to link from one page to another
• By default, links will appear as follows in all browsers:
 An unvisited link is underlined and blue
 A visited link is underlined and purple
 An active link is underlined and red
<A href="http://www.google.com">Google</A>
HTML Elements
An HTML element starts with a start tag / opening tag
and 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 . Eg.line
break
Empty elements are closed in the start tag
Most HTML elements can have attributes
HTML Attributes
Attributes provide additional information about the
element
Attributes are always specified in the start tag
Attributes come in name/value pairs like: name="value"
HTML Lists
• There is an easy way in HTML to have numbered,
unnumbered, and definition lists
•Unnumbered lists
•Unnumbered lists are started with the <ul> tag, followed by
the actual list items, which are marked with the <li> tag. The
list is ended with the ending tag </ul>.
–<ul>
•<li> list item 1
•<li> list item 2
•<li> list item 3
–</ul>
• Numbered lists:
• Here is the same list using a numbered list format:
– <ol>
• <li> list item 1
• <li> list item 2
• <li> list item 3
– </ol>
Here is how that list would display:
– 1. list item 1
– 2. list item 2
– 3. list item 3 Example
List Elements
TYPE Numbering Styles
1(default) Arabic numbers 1,2,3, ……
a Lower alpha a, b, c, ……
A Upper alpha A, B, C, ……
i Lower roman i, ii, iii, ……
I Upper roman I, II, III, ……
HTML Tables
• Tables are defined with the <table> tag
• A table is divided into rows (with <tr> tag), andeach row
is divided into data cells (with <td> tag)
– where td stands for "table data," which is the content of a data
cell.
– Headings in a table are defined with the <th> tag
• example
HTML Images
• Add images to your pages
• <IMG>This element defines a graphic image on the page.
 Width (WIDTH): is the width of the image in pixels.
 Height (HEIGHT): is the height of the image in pixels.
 Border (BORDER): is for a border around the image,
specified in pixels
 Alternate Text (ALT): This is a text field that describes an
image or acts as a label. It is displayed when they position the
cursor over a graphic image.
 Alignment (ALIGN): This allows you to align the image on
your page. Example
HTML Forms
• A form is an area that can contain form elements that
allow the user to enter information (like text fields,
textarea fields,radio buttons, checkboxes) in a form
• A form is defined with the <form> tag.
• example
HTML Special Characters
£&pound;British Pound
€&#8364;Euro
"&quot;Quotation Mark
¥&yen;Japanese Yen
—&mdash;Em Dash
&nbsp;Non-breaking Space
&&amp;Ampersand
>&gt;Greater Than
<&lt;Less Than
™&trade;Trademark Sign
®&reg;Registered Trademark Sign
©&copy;Copyright Sign
SymbolHTML EntitySymbol Name
Want to learn more about programming or Looking to become a good programmer?
Are you wasting time on searching so many contents online?
Do you want to learn things quickly?
Tired of spending huge amount of money to become a Software professional?
Do an online course
@ baabtra.com
We put industry standards to practice. Our structured, activity based courses are so designed
to make a quick, good software professional out of anybody who holds a passion for coding.
Follow us @ twitter.com/baabtra
Like us @ facebook.com/baabtra
Subscribe to us @ youtube.com/baabtra
Become a follower @ slideshare.net/BaabtraMentoringPartner
Connect to us @ in.linkedin.com/in/baabtra
Give a feedback @ massbaab.com/baabtra
Thanks in advance
www.baabtra.com | www.massbaab.com |www.baabte.com
Emarald Mall (Big Bazar Building)
Mavoor Road, Kozhikode,
Kerala, India.
Ph: + 91 – 495 40 25 550
NC Complex, Near Bus Stand
Mukkam, Kozhikode,
Kerala, India.
Ph: + 91 – 495 40 25 550
Cafit Square,
Hilite Business Park,
Near Pantheerankavu,
Kozhikode
Start up Village
Eranakulam,
Kerala, India.
Email: info@baabtra.com
Contact Us

Weitere ähnliche Inhalte

Was ist angesagt? (20)

Introduction to HTML
Introduction to HTMLIntroduction to HTML
Introduction to HTML
 
Html link and list tags
Html link and list tagsHtml link and list tags
Html link and list tags
 
Html
HtmlHtml
Html
 
html
htmlhtml
html
 
Html example
Html exampleHtml example
Html example
 
HTML (Web) basics for a beginner
HTML (Web) basics for a beginnerHTML (Web) basics for a beginner
HTML (Web) basics for a beginner
 
Intro Html
Intro HtmlIntro Html
Intro Html
 
Learn HTML Step By Step
Learn HTML Step By StepLearn HTML Step By Step
Learn HTML Step By Step
 
Introduction to html
Introduction to htmlIntroduction to html
Introduction to html
 
Learning html. (Part- 1)
Learning html. (Part- 1)Learning html. (Part- 1)
Learning html. (Part- 1)
 
Html text formatting
Html text formattingHtml text formatting
Html text formatting
 
Html
HtmlHtml
Html
 
Html
HtmlHtml
Html
 
Html text and formatting
Html text and formattingHtml text and formatting
Html text and formatting
 
Html basics
Html basicsHtml basics
Html basics
 
HTML Introduction
HTML IntroductionHTML Introduction
HTML Introduction
 
Html Presentation
Html PresentationHtml Presentation
Html Presentation
 
HTML Fundamentals
HTML FundamentalsHTML Fundamentals
HTML Fundamentals
 
Web designing using html
Web designing using htmlWeb designing using html
Web designing using html
 
Internet Programming
Internet ProgrammingInternet Programming
Internet Programming
 

Andere mochten auch (6)

Jvm
JvmJvm
Jvm
 
Chapter 5 : How To Program?
Chapter  5 : How To Program?Chapter  5 : How To Program?
Chapter 5 : How To Program?
 
Html
Html Html
Html
 
Html and css
Html and cssHtml and css
Html and css
 
Corporate architecture process re-engineering
Corporate architecture   process re-engineeringCorporate architecture   process re-engineering
Corporate architecture process re-engineering
 
structure,pointerandstring
structure,pointerandstringstructure,pointerandstring
structure,pointerandstring
 

Ähnlich wie Html (20)

Basic HTML
Basic HTMLBasic HTML
Basic HTML
 
2a web technology html basics 1
2a web technology html basics 12a web technology html basics 1
2a web technology html basics 1
 
Introduction to (x)html
Introduction to (x)htmlIntroduction to (x)html
Introduction to (x)html
 
Html
HtmlHtml
Html
 
web development.pdf
web development.pdfweb development.pdf
web development.pdf
 
Introduction to html
Introduction to htmlIntroduction to html
Introduction to html
 
Html starting
Html startingHtml starting
Html starting
 
learnhtmlbyvipuladissanayake-170516061515 (1).pptx
learnhtmlbyvipuladissanayake-170516061515 (1).pptxlearnhtmlbyvipuladissanayake-170516061515 (1).pptx
learnhtmlbyvipuladissanayake-170516061515 (1).pptx
 
Learn html Basics
Learn html BasicsLearn html Basics
Learn html Basics
 
HTML.pdf
HTML.pdfHTML.pdf
HTML.pdf
 
HTML
HTMLHTML
HTML
 
Introduction to Html and Css.pdf
Introduction to Html and Css.pdfIntroduction to Html and Css.pdf
Introduction to Html and Css.pdf
 
vtu HTML+Course+Slide cse notes and .pdf
vtu HTML+Course+Slide cse notes and .pdfvtu HTML+Course+Slide cse notes and .pdf
vtu HTML+Course+Slide cse notes and .pdf
 
Html presentation
Html presentationHtml presentation
Html presentation
 
html
htmlhtml
html
 
BITM3730Week1.pptx
BITM3730Week1.pptxBITM3730Week1.pptx
BITM3730Week1.pptx
 
PPT-203105353-1.pdf
PPT-203105353-1.pdfPPT-203105353-1.pdf
PPT-203105353-1.pdf
 
HTML.pdf
HTML.pdfHTML.pdf
HTML.pdf
 
HTML & CSS.ppt
HTML & CSS.pptHTML & CSS.ppt
HTML & CSS.ppt
 
FYBSC IT Web Programming Unit I HTML 5 & andcss
FYBSC IT Web Programming Unit I HTML 5 & andcssFYBSC IT Web Programming Unit I HTML 5 & andcss
FYBSC IT Web Programming Unit I HTML 5 & andcss
 

Mehr von baabtra.com - No. 1 supplier of quality freshers

Mehr von baabtra.com - No. 1 supplier of quality freshers (20)

Agile methodology and scrum development
Agile methodology and scrum developmentAgile methodology and scrum development
Agile methodology and scrum development
 
Best coding practices
Best coding practicesBest coding practices
Best coding practices
 
Core java - baabtra
Core java - baabtraCore java - baabtra
Core java - baabtra
 
Acquiring new skills what you should know
Acquiring new skills   what you should knowAcquiring new skills   what you should know
Acquiring new skills what you should know
 
Baabtra.com programming at school
Baabtra.com programming at schoolBaabtra.com programming at school
Baabtra.com programming at school
 
99LMS for Enterprises - LMS that you will love
99LMS for Enterprises - LMS that you will love 99LMS for Enterprises - LMS that you will love
99LMS for Enterprises - LMS that you will love
 
Php sessions & cookies
Php sessions & cookiesPhp sessions & cookies
Php sessions & cookies
 
Php database connectivity
Php database connectivityPhp database connectivity
Php database connectivity
 
Chapter 6 database normalisation
Chapter 6  database normalisationChapter 6  database normalisation
Chapter 6 database normalisation
 
Chapter 5 transactions and dcl statements
Chapter 5  transactions and dcl statementsChapter 5  transactions and dcl statements
Chapter 5 transactions and dcl statements
 
Chapter 4 functions, views, indexing
Chapter 4  functions, views, indexingChapter 4  functions, views, indexing
Chapter 4 functions, views, indexing
 
Chapter 3 stored procedures
Chapter 3 stored proceduresChapter 3 stored procedures
Chapter 3 stored procedures
 
Chapter 2 grouping,scalar and aggergate functions,joins inner join,outer join
Chapter 2  grouping,scalar and aggergate functions,joins   inner join,outer joinChapter 2  grouping,scalar and aggergate functions,joins   inner join,outer join
Chapter 2 grouping,scalar and aggergate functions,joins inner join,outer join
 
Chapter 1 introduction to sql server
Chapter 1 introduction to sql serverChapter 1 introduction to sql server
Chapter 1 introduction to sql server
 
Chapter 1 introduction to sql server
Chapter 1 introduction to sql serverChapter 1 introduction to sql server
Chapter 1 introduction to sql server
 
Microsoft holo lens
Microsoft holo lensMicrosoft holo lens
Microsoft holo lens
 
Blue brain
Blue brainBlue brain
Blue brain
 
5g
5g5g
5g
 
Aptitude skills baabtra
Aptitude skills baabtraAptitude skills baabtra
Aptitude skills baabtra
 
Gd baabtra
Gd baabtraGd baabtra
Gd baabtra
 

Kürzlich hochgeladen

10 Differences between Sales Cloud and CPQ, Blanka Doktorová
10 Differences between Sales Cloud and CPQ, Blanka Doktorová10 Differences between Sales Cloud and CPQ, Blanka Doktorová
10 Differences between Sales Cloud and CPQ, Blanka DoktorováCzechDreamin
 
Connecting the Dots in Product Design at KAYAK
Connecting the Dots in Product Design at KAYAKConnecting the Dots in Product Design at KAYAK
Connecting the Dots in Product Design at KAYAKUXDXConf
 
Motion for AI: Creating Empathy in Technology
Motion for AI: Creating Empathy in TechnologyMotion for AI: Creating Empathy in Technology
Motion for AI: Creating Empathy in TechnologyUXDXConf
 
Transforming The New York Times: Empowering Evolution through UX
Transforming The New York Times: Empowering Evolution through UXTransforming The New York Times: Empowering Evolution through UX
Transforming The New York Times: Empowering Evolution through UXUXDXConf
 
SOQL 201 for Admins & Developers: Slice & Dice Your Org’s Data With Aggregate...
SOQL 201 for Admins & Developers: Slice & Dice Your Org’s Data With Aggregate...SOQL 201 for Admins & Developers: Slice & Dice Your Org’s Data With Aggregate...
SOQL 201 for Admins & Developers: Slice & Dice Your Org’s Data With Aggregate...CzechDreamin
 
Measures in SQL (a talk at SF Distributed Systems meetup, 2024-05-22)
Measures in SQL (a talk at SF Distributed Systems meetup, 2024-05-22)Measures in SQL (a talk at SF Distributed Systems meetup, 2024-05-22)
Measures in SQL (a talk at SF Distributed Systems meetup, 2024-05-22)Julian Hyde
 
Connector Corner: Automate dynamic content and events by pushing a button
Connector Corner: Automate dynamic content and events by pushing a buttonConnector Corner: Automate dynamic content and events by pushing a button
Connector Corner: Automate dynamic content and events by pushing a buttonDianaGray10
 
IoT Analytics Company Presentation May 2024
IoT Analytics Company Presentation May 2024IoT Analytics Company Presentation May 2024
IoT Analytics Company Presentation May 2024IoTAnalytics
 
UiPath Test Automation using UiPath Test Suite series, part 1
UiPath Test Automation using UiPath Test Suite series, part 1UiPath Test Automation using UiPath Test Suite series, part 1
UiPath Test Automation using UiPath Test Suite series, part 1DianaGray10
 
Optimizing NoSQL Performance Through Observability
Optimizing NoSQL Performance Through ObservabilityOptimizing NoSQL Performance Through Observability
Optimizing NoSQL Performance Through ObservabilityScyllaDB
 
To Graph or Not to Graph Knowledge Graph Architectures and LLMs
To Graph or Not to Graph Knowledge Graph Architectures and LLMsTo Graph or Not to Graph Knowledge Graph Architectures and LLMs
To Graph or Not to Graph Knowledge Graph Architectures and LLMsPaul Groth
 
UiPath Test Automation using UiPath Test Suite series, part 2
UiPath Test Automation using UiPath Test Suite series, part 2UiPath Test Automation using UiPath Test Suite series, part 2
UiPath Test Automation using UiPath Test Suite series, part 2DianaGray10
 
Strategic AI Integration in Engineering Teams
Strategic AI Integration in Engineering TeamsStrategic AI Integration in Engineering Teams
Strategic AI Integration in Engineering TeamsUXDXConf
 
WSO2CONMay2024OpenSourceConferenceDebrief.pptx
WSO2CONMay2024OpenSourceConferenceDebrief.pptxWSO2CONMay2024OpenSourceConferenceDebrief.pptx
WSO2CONMay2024OpenSourceConferenceDebrief.pptxJennifer Lim
 
Server-Driven User Interface (SDUI) at Priceline
Server-Driven User Interface (SDUI) at PricelineServer-Driven User Interface (SDUI) at Priceline
Server-Driven User Interface (SDUI) at PricelineUXDXConf
 
Unpacking Value Delivery - Agile Oxford Meetup - May 2024.pptx
Unpacking Value Delivery - Agile Oxford Meetup - May 2024.pptxUnpacking Value Delivery - Agile Oxford Meetup - May 2024.pptx
Unpacking Value Delivery - Agile Oxford Meetup - May 2024.pptxDavid Michel
 
IESVE for Early Stage Design and Planning
IESVE for Early Stage Design and PlanningIESVE for Early Stage Design and Planning
IESVE for Early Stage Design and PlanningIES VE
 
Software Delivery At the Speed of AI: Inflectra Invests In AI-Powered Quality
Software Delivery At the Speed of AI: Inflectra Invests In AI-Powered QualitySoftware Delivery At the Speed of AI: Inflectra Invests In AI-Powered Quality
Software Delivery At the Speed of AI: Inflectra Invests In AI-Powered QualityInflectra
 
IOS-PENTESTING-BEGINNERS-PRACTICAL-GUIDE-.pptx
IOS-PENTESTING-BEGINNERS-PRACTICAL-GUIDE-.pptxIOS-PENTESTING-BEGINNERS-PRACTICAL-GUIDE-.pptx
IOS-PENTESTING-BEGINNERS-PRACTICAL-GUIDE-.pptxAbida Shariff
 
Speed Wins: From Kafka to APIs in Minutes
Speed Wins: From Kafka to APIs in MinutesSpeed Wins: From Kafka to APIs in Minutes
Speed Wins: From Kafka to APIs in Minutesconfluent
 

Kürzlich hochgeladen (20)

10 Differences between Sales Cloud and CPQ, Blanka Doktorová
10 Differences between Sales Cloud and CPQ, Blanka Doktorová10 Differences between Sales Cloud and CPQ, Blanka Doktorová
10 Differences between Sales Cloud and CPQ, Blanka Doktorová
 
Connecting the Dots in Product Design at KAYAK
Connecting the Dots in Product Design at KAYAKConnecting the Dots in Product Design at KAYAK
Connecting the Dots in Product Design at KAYAK
 
Motion for AI: Creating Empathy in Technology
Motion for AI: Creating Empathy in TechnologyMotion for AI: Creating Empathy in Technology
Motion for AI: Creating Empathy in Technology
 
Transforming The New York Times: Empowering Evolution through UX
Transforming The New York Times: Empowering Evolution through UXTransforming The New York Times: Empowering Evolution through UX
Transforming The New York Times: Empowering Evolution through UX
 
SOQL 201 for Admins & Developers: Slice & Dice Your Org’s Data With Aggregate...
SOQL 201 for Admins & Developers: Slice & Dice Your Org’s Data With Aggregate...SOQL 201 for Admins & Developers: Slice & Dice Your Org’s Data With Aggregate...
SOQL 201 for Admins & Developers: Slice & Dice Your Org’s Data With Aggregate...
 
Measures in SQL (a talk at SF Distributed Systems meetup, 2024-05-22)
Measures in SQL (a talk at SF Distributed Systems meetup, 2024-05-22)Measures in SQL (a talk at SF Distributed Systems meetup, 2024-05-22)
Measures in SQL (a talk at SF Distributed Systems meetup, 2024-05-22)
 
Connector Corner: Automate dynamic content and events by pushing a button
Connector Corner: Automate dynamic content and events by pushing a buttonConnector Corner: Automate dynamic content and events by pushing a button
Connector Corner: Automate dynamic content and events by pushing a button
 
IoT Analytics Company Presentation May 2024
IoT Analytics Company Presentation May 2024IoT Analytics Company Presentation May 2024
IoT Analytics Company Presentation May 2024
 
UiPath Test Automation using UiPath Test Suite series, part 1
UiPath Test Automation using UiPath Test Suite series, part 1UiPath Test Automation using UiPath Test Suite series, part 1
UiPath Test Automation using UiPath Test Suite series, part 1
 
Optimizing NoSQL Performance Through Observability
Optimizing NoSQL Performance Through ObservabilityOptimizing NoSQL Performance Through Observability
Optimizing NoSQL Performance Through Observability
 
To Graph or Not to Graph Knowledge Graph Architectures and LLMs
To Graph or Not to Graph Knowledge Graph Architectures and LLMsTo Graph or Not to Graph Knowledge Graph Architectures and LLMs
To Graph or Not to Graph Knowledge Graph Architectures and LLMs
 
UiPath Test Automation using UiPath Test Suite series, part 2
UiPath Test Automation using UiPath Test Suite series, part 2UiPath Test Automation using UiPath Test Suite series, part 2
UiPath Test Automation using UiPath Test Suite series, part 2
 
Strategic AI Integration in Engineering Teams
Strategic AI Integration in Engineering TeamsStrategic AI Integration in Engineering Teams
Strategic AI Integration in Engineering Teams
 
WSO2CONMay2024OpenSourceConferenceDebrief.pptx
WSO2CONMay2024OpenSourceConferenceDebrief.pptxWSO2CONMay2024OpenSourceConferenceDebrief.pptx
WSO2CONMay2024OpenSourceConferenceDebrief.pptx
 
Server-Driven User Interface (SDUI) at Priceline
Server-Driven User Interface (SDUI) at PricelineServer-Driven User Interface (SDUI) at Priceline
Server-Driven User Interface (SDUI) at Priceline
 
Unpacking Value Delivery - Agile Oxford Meetup - May 2024.pptx
Unpacking Value Delivery - Agile Oxford Meetup - May 2024.pptxUnpacking Value Delivery - Agile Oxford Meetup - May 2024.pptx
Unpacking Value Delivery - Agile Oxford Meetup - May 2024.pptx
 
IESVE for Early Stage Design and Planning
IESVE for Early Stage Design and PlanningIESVE for Early Stage Design and Planning
IESVE for Early Stage Design and Planning
 
Software Delivery At the Speed of AI: Inflectra Invests In AI-Powered Quality
Software Delivery At the Speed of AI: Inflectra Invests In AI-Powered QualitySoftware Delivery At the Speed of AI: Inflectra Invests In AI-Powered Quality
Software Delivery At the Speed of AI: Inflectra Invests In AI-Powered Quality
 
IOS-PENTESTING-BEGINNERS-PRACTICAL-GUIDE-.pptx
IOS-PENTESTING-BEGINNERS-PRACTICAL-GUIDE-.pptxIOS-PENTESTING-BEGINNERS-PRACTICAL-GUIDE-.pptx
IOS-PENTESTING-BEGINNERS-PRACTICAL-GUIDE-.pptx
 
Speed Wins: From Kafka to APIs in Minutes
Speed Wins: From Kafka to APIs in MinutesSpeed Wins: From Kafka to APIs in Minutes
Speed Wins: From Kafka to APIs in Minutes
 

Html

  • 1.
  • 3. Disclaimer: This presentation is prepared by trainees of baabtra as a part of mentoring program. This is not official document of baabtra –Mentoring Partner Baabtra-Mentoring Partner is the mentoring division of baabte System Technologies Pvt . Ltd
  • 4. HTML • Hyper Text Markup Language – The Language of Web Pages on the World Wide Web. • Text formatting language. • A simple markup languages. – Markup:  Embedded codes in documents  Codes are called `tags’  Codes Describe the structure documents Include instructions for processing
  • 5. Structure of HTML • All HTML documents start with <HTML> and end with </HTML> • Every HTML webpage has 2 sections which are denoted by HTML tags – <Head> – <Body> • The Head section will always open & close before the Body section opens
  • 6. HTML Tag section • HTML markup tags are usually called HTML tags • Tags are written within angle brackets( < > )that describe the way you want content to appear on a page <Tagname>Content</Tagname> • The browser does not display the HTML tags • Tags are not case sensitive • Tags order matters • <em><strong>hallow Baabta</strong></em>
  • 7. HTML page • <!DOCTYPE HTML> • <html> • <head> • <h1> <title>Baabtra World</title></h1> • </head> • <body> • <p>hallow baabtra</p> • </body> • </html> show
  • 8. • <!DOCTYPE HTML> • <html> • <head> • <h1> <title>Baabtra World</title></h1> • </head> • <body> • <p>hallow baabtra</p> • </body> • </html> HTML header
  • 9. • <!DOCTYPE HTML> • <html> • <head> • <h1> <title>Baabtra World</title></h1> • </head> • <body> • <p>hallow baabtra</p> • </body> • </html> HTML body
  • 10. HTML Head section • This section always begins with <head> and ends with </head> • This section will not be visible in the body of the web browser • The name of the webpage that appears in the title bar is placed in this section • Example: <title>My First Page</title>
  • 11. HTML body section • Information displayed in this section will be displayed in the body of the web browser • The closing body tag will always proceed the closing HTML tag.
  • 12. HTML heading tags • Inside the BODY element, heading elements H1 through H6 are generally used for major divisions of the document • H1: should be used as the highest level of heading • H2 as the next highest,….. • H6 is the smallest heading… • example
  • 13. HTML Paragraph tags • HTML paragraphs are defined with the <p> tag. • example
  • 14. Character formating • Change the color and size of your text • Align your text • some examples are  <B> Bold </B>  <I> Italic </I>  <U> Underline </U>
  • 15. <b></b> bold <i></i> italicized <u></u> underlined <sup></sup> Samplesuperscript <sub></sub> Samplesubscript <strong></strong> strong <em></em> emphasized <pre></pre> Preformatted text <blockquote></blockquote> Quoted text block <del></del> Deleted text – strike through
  • 16. HTML Hyperlink Tags • HTML links are defined with the <a> tag. • which is used to link from one page to another • By default, links will appear as follows in all browsers:  An unvisited link is underlined and blue  A visited link is underlined and purple  An active link is underlined and red <A href="http://www.google.com">Google</A>
  • 17. HTML Elements An HTML element starts with a start tag / opening tag and 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 . Eg.line break Empty elements are closed in the start tag Most HTML elements can have attributes
  • 18. HTML Attributes Attributes provide additional information about the element Attributes are always specified in the start tag Attributes come in name/value pairs like: name="value"
  • 19. HTML Lists • There is an easy way in HTML to have numbered, unnumbered, and definition lists •Unnumbered lists •Unnumbered lists are started with the <ul> tag, followed by the actual list items, which are marked with the <li> tag. The list is ended with the ending tag </ul>. –<ul> •<li> list item 1 •<li> list item 2 •<li> list item 3 –</ul>
  • 20. • Numbered lists: • Here is the same list using a numbered list format: – <ol> • <li> list item 1 • <li> list item 2 • <li> list item 3 – </ol> Here is how that list would display: – 1. list item 1 – 2. list item 2 – 3. list item 3 Example
  • 21. List Elements TYPE Numbering Styles 1(default) Arabic numbers 1,2,3, …… a Lower alpha a, b, c, …… A Upper alpha A, B, C, …… i Lower roman i, ii, iii, …… I Upper roman I, II, III, ……
  • 22. HTML Tables • Tables are defined with the <table> tag • A table is divided into rows (with <tr> tag), andeach row is divided into data cells (with <td> tag) – where td stands for "table data," which is the content of a data cell. – Headings in a table are defined with the <th> tag • example
  • 23. HTML Images • Add images to your pages • <IMG>This element defines a graphic image on the page.  Width (WIDTH): is the width of the image in pixels.  Height (HEIGHT): is the height of the image in pixels.  Border (BORDER): is for a border around the image, specified in pixels  Alternate Text (ALT): This is a text field that describes an image or acts as a label. It is displayed when they position the cursor over a graphic image.  Alignment (ALIGN): This allows you to align the image on your page. Example
  • 24. HTML Forms • A form is an area that can contain form elements that allow the user to enter information (like text fields, textarea fields,radio buttons, checkboxes) in a form • A form is defined with the <form> tag. • example
  • 25. HTML Special Characters £&pound;British Pound €&#8364;Euro "&quot;Quotation Mark ¥&yen;Japanese Yen —&mdash;Em Dash &nbsp;Non-breaking Space &&amp;Ampersand >&gt;Greater Than <&lt;Less Than ™&trade;Trademark Sign ®&reg;Registered Trademark Sign ©&copy;Copyright Sign SymbolHTML EntitySymbol Name
  • 26.
  • 27.
  • 28. Want to learn more about programming or Looking to become a good programmer? Are you wasting time on searching so many contents online? Do you want to learn things quickly? Tired of spending huge amount of money to become a Software professional? Do an online course @ baabtra.com We put industry standards to practice. Our structured, activity based courses are so designed to make a quick, good software professional out of anybody who holds a passion for coding.
  • 29. Follow us @ twitter.com/baabtra Like us @ facebook.com/baabtra Subscribe to us @ youtube.com/baabtra Become a follower @ slideshare.net/BaabtraMentoringPartner Connect to us @ in.linkedin.com/in/baabtra Give a feedback @ massbaab.com/baabtra Thanks in advance www.baabtra.com | www.massbaab.com |www.baabte.com
  • 30. Emarald Mall (Big Bazar Building) Mavoor Road, Kozhikode, Kerala, India. Ph: + 91 – 495 40 25 550 NC Complex, Near Bus Stand Mukkam, Kozhikode, Kerala, India. Ph: + 91 – 495 40 25 550 Cafit Square, Hilite Business Park, Near Pantheerankavu, Kozhikode Start up Village Eranakulam, Kerala, India. Email: info@baabtra.com Contact Us