SlideShare ist ein Scribd-Unternehmen logo
1 von 15
Conducted by
Derville Lowe, MBA, BSc.
What is HTML?
HTML is a language or codes used for describing web
pages.
HTML stands for Hyper Text Mark-up Language
A mark-up language is a set of specifically named tags
which are used to describe document or page content.
HTML documents contain HTML tags and plain text.
HTML Tags
HTML markup tags are usually called “HTML tags”
HTML tags are keywords OR tag names surrounded by angle
brackets - e.g. <html>
HTML tags normally come in pairs like <b> and </b>

The first tag in a pair is the start tag, the second tag is the end tag.
The end tag is written like the start tag, with a forward slash before
the tag name

Start and end tags are also called opening tags and closing tags
Tag Types:
START (Opening) TAG and END (Closing) TAG Syntax

Start Tag

End Tag

e.g. <p> your text </p>
List of Basic Tags
1. <html> : used at the beginning of each HTML document
2. <body> : used after the <html> tag to specify what is displayed on the
webpage
3. <!DOCTYPE> : defines a document type (e.g. html, xml, asp.net)
4. <h> : to create a heading in the HTML document (web page)
5. <p> : to create a paragraph in the HTML document
6. <b> : to boldface text
7. <i> : to italicize text
8. <u> : to underline text
9. <a> : defines a hyperlink
10. <!--
--> : defines a comment or non-code text
11. <br> : to give a single line break in the HTML document
12. <button> : defines a clickable button
13. <hr> : defines a horizontal line
14. < img>: causes an image to be displayed on the web page
Tag Usage in HTML document editing
<!DOCTYPE html> is the first line of text used when creating a web
page. This declaration helps the browser to display the web page
correctly.
The text between
The text between
The text between
The text between

<html> and </html> describes the web page
<body> and </body> is the visible page content
<h1> and </h1> is displayed as a heading
<p> and </p> is displayed as a paragraph
HTML Hyperlinks (Links)
The HTML “<a> tag” defines a hyperlink.
A hyperlink (or link) is a word, group of words, or image that you can click
on to jump to another HTML document.
When you move the cursor over a link in a Web page, the arrow will turn
into a little hand.
The most important attribute of the <a> tag element is the href
attribute, which indicates the link's destination.
HTML Hyperlinks (Links)
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.
NOTE: ALL URLs (web addresses) MUST BE IN QUOTATION MARKS.
e.g. <a href="http://www.microsoft.com"> Visit Microsoft</a>
Cascading Style Sheets (CSS) and HTML
CSS can be added to HTML in the following ways:
Inline - using the style attribute in HTML elements
Internal - using the <style> element in the <head> section
External - using an external CSS file
The preferred way to add CSS to HTML, is to put CSS syntax in separate
CSS files, however the style attribute is simple and makes editing styles
easier and more direct.
Cascading Style Sheets (CSS) Syntax
INLINE CSS using the STYLE attribute
CSS Inline styles are declared in the START (Opening) tags
Style elements must be in quotation marks.
Examples:
<body style="background-color:yellow"> (page background color)
<h1 style="font-family:verdana"> (specifies display font for the page)
 <h1 style="text-align:center"> (alignment of page content)
Inserting an Image in a HTML document
In HTML, images are defined with the <img> tag.
The <img> tag is empty, meaning it contains attributes only, and
has no closing tag.
To display an image on a web page, you need to use the src
attribute in the <img> tag. SRC stands for "source". The value of
the src attribute is the URL (location & name with file extension)
of the image you want to display. The name of the image file must
be in quotation marks (“image name”)

e.g. <img src="audi.jpg">
HTML Editors
1.
2.
3.
4.
5.
6.
7.

Notepad
WordPad
MS Word
Adobe Dreamweaver
MS Expression Web
MS Visual Web Developer Express
Coffee Cup HTML Editor
Example of Simple Web Page Scripting in HTML
TRY IT YOURSELF (image file must be replaced before trying code)
<!--Author: Derville Lowe-->
<head>
<title> HMTHS </title>
</head>

<!--Specifies text to be displayed in the title bar of the browser-->

<html>
<body style="background-color:green"; align="center">

<!--Specifies how the web page is displayed using an INLINE CSS-->

<img src="audi.jpg"; height=150px; width=200px>
<! --Displays a jpeg image on the web page with dimensions (image size) specified-->
<hr>

<!--Displays a horizontal line on the web page-->

<h1>My First Heading</h3>

<!--Displays a heading on the web page-->

<p><u>My first <br>paragraph.</u></p>
<p>My Second paragraph. This is great!</p>

<!--Displays an underlined paragraph with a line break-->
<!--Displays a paragraph with no formatting-->

<a href="http://www.microsoft.com"> Visit Microsoft </a><br>
<!--Creates a link to the Microsoft website-->
<button><a href="http://www.facebook.com"> Go To Facebook </a></button>
<!--Creates a button link to the Facebook website-->
</body>
</html>
Web Development Tutorials ONLINE
Visit: www.w3schools.com
Web Development Basics: HOW TO in HTML

Weitere Àhnliche Inhalte

Was ist angesagt?

Introduction to HTML and CSS
Introduction to HTML and CSSIntroduction to HTML and CSS
Introduction to HTML and CSS
Ferdous Mahmud Shaon
 
Html css crash course may 11th, atlanta
Html css crash course may 11th, atlantaHtml css crash course may 11th, atlanta
Html css crash course may 11th, atlanta
Thinkful
 

Was ist angesagt? (20)

Html / CSS Presentation
Html / CSS PresentationHtml / CSS Presentation
Html / CSS Presentation
 
Introduction to html & css
Introduction to html & cssIntroduction to html & css
Introduction to html & css
 
Introduction to HTML and CSS
Introduction to HTML and CSSIntroduction to HTML and CSS
Introduction to HTML and CSS
 
Steph's Html5 and css presentation
Steph's Html5 and css presentationSteph's Html5 and css presentation
Steph's Html5 and css presentation
 
Cascading Style Sheets - Part 02
Cascading Style Sheets - Part 02Cascading Style Sheets - Part 02
Cascading Style Sheets - Part 02
 
Html and css presentation
Html and css presentationHtml and css presentation
Html and css presentation
 
HTML CSS and Web Development
HTML CSS and Web DevelopmentHTML CSS and Web Development
HTML CSS and Web Development
 
Intro to HTML, CSS & JS - Internship Presentation Week-3
Intro to HTML, CSS & JS - Internship Presentation Week-3Intro to HTML, CSS & JS - Internship Presentation Week-3
Intro to HTML, CSS & JS - Internship Presentation Week-3
 
Cascading Style Sheets - CSS
Cascading Style Sheets - CSSCascading Style Sheets - CSS
Cascading Style Sheets - CSS
 
Web1O1 - Intro to HTML/CSS
Web1O1 - Intro to HTML/CSSWeb1O1 - Intro to HTML/CSS
Web1O1 - Intro to HTML/CSS
 
Introduction of Html/css/js
Introduction of Html/css/jsIntroduction of Html/css/js
Introduction of Html/css/js
 
HTML Lists & Llinks
HTML Lists & LlinksHTML Lists & Llinks
HTML Lists & Llinks
 
How Cascading Style Sheets (CSS) Works
How Cascading Style Sheets (CSS) WorksHow Cascading Style Sheets (CSS) Works
How Cascading Style Sheets (CSS) Works
 
Html css crash course may 11th, atlanta
Html css crash course may 11th, atlantaHtml css crash course may 11th, atlanta
Html css crash course may 11th, atlanta
 
HTML 5 Simple Tutorial Part 1
HTML 5 Simple Tutorial Part 1HTML 5 Simple Tutorial Part 1
HTML 5 Simple Tutorial Part 1
 
HTML, CSS And JAVASCRIPT!
HTML, CSS And JAVASCRIPT!HTML, CSS And JAVASCRIPT!
HTML, CSS And JAVASCRIPT!
 
Intro to HTML and CSS basics
Intro to HTML and CSS basicsIntro to HTML and CSS basics
Intro to HTML and CSS basics
 
Html,javascript & css
Html,javascript & cssHtml,javascript & css
Html,javascript & css
 
HTML CSS & Javascript
HTML CSS & JavascriptHTML CSS & Javascript
HTML CSS & Javascript
 
html-css
html-csshtml-css
html-css
 

Andere mochten auch (11)

HTML Basics
HTML BasicsHTML Basics
HTML Basics
 
Basic Html Tags Tutorial For Kids
Basic Html Tags Tutorial For KidsBasic Html Tags Tutorial For Kids
Basic Html Tags Tutorial For Kids
 
Webdevelopment workshop-html
Webdevelopment workshop-htmlWebdevelopment workshop-html
Webdevelopment workshop-html
 
Basic HTML
Basic HTMLBasic HTML
Basic HTML
 
Html basics
Html basicsHtml basics
Html basics
 
Database and types of database
Database and types of databaseDatabase and types of database
Database and types of database
 
Html basic
Html basicHtml basic
Html basic
 
HTML CSS Basics
HTML CSS BasicsHTML CSS Basics
HTML CSS Basics
 
Html
HtmlHtml
Html
 
Introduction to HTML
Introduction to HTMLIntroduction to HTML
Introduction to HTML
 
Introduction to html
Introduction to htmlIntroduction to html
Introduction to html
 

Ähnlich wie Web Development Basics: HOW TO in HTML

Class Intro / HTML Basics
Class Intro / HTML BasicsClass Intro / HTML Basics
Class Intro / HTML Basics
Shawn Calvert
 
Html basics
Html basicsHtml basics
Html basics
Vjay Vijju
 

Ähnlich wie Web Development Basics: HOW TO in HTML (20)

Introduction to Html
Introduction to HtmlIntroduction to Html
Introduction to Html
 
How to learn HTML in 10 Days
How to learn HTML in 10 DaysHow to learn HTML in 10 Days
How to learn HTML in 10 Days
 
HTML.pptx
HTML.pptxHTML.pptx
HTML.pptx
 
Html
HtmlHtml
Html
 
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
 
HTML
HTMLHTML
HTML
 
HTML Training Part1
HTML Training Part1HTML Training Part1
HTML Training Part1
 
HTML - part 1
HTML - part 1HTML - part 1
HTML - part 1
 
Computer fundamentals-internet p2
Computer fundamentals-internet p2Computer fundamentals-internet p2
Computer fundamentals-internet p2
 
HSC INFORMATION TECHNOLOGY CHAPTER 1 ADVANCED WEB DESIGNING PART I.pdf
HSC INFORMATION TECHNOLOGY CHAPTER 1 ADVANCED WEB DESIGNING PART I.pdfHSC INFORMATION TECHNOLOGY CHAPTER 1 ADVANCED WEB DESIGNING PART I.pdf
HSC INFORMATION TECHNOLOGY CHAPTER 1 ADVANCED WEB DESIGNING PART I.pdf
 
2 INTRO TO HTML.pptx
2 INTRO TO HTML.pptx2 INTRO TO HTML.pptx
2 INTRO TO HTML.pptx
 
HTML : INTRODUCTION TO WEB DESIGN Presentation
HTML : INTRODUCTION TO WEB DESIGN PresentationHTML : INTRODUCTION TO WEB DESIGN Presentation
HTML : INTRODUCTION TO WEB DESIGN Presentation
 
HTML for Education
HTML for EducationHTML for Education
HTML for Education
 
CSE-HTML-PPT.pptx
CSE-HTML-PPT.pptxCSE-HTML-PPT.pptx
CSE-HTML-PPT.pptx
 
Class Intro / HTML Basics
Class Intro / HTML BasicsClass Intro / HTML Basics
Class Intro / HTML Basics
 
HTML.pdf
HTML.pdfHTML.pdf
HTML.pdf
 
About html
About htmlAbout html
About html
 
Html basics
Html basicsHtml basics
Html basics
 
Learning html. (Part- 1)
Learning html. (Part- 1)Learning html. (Part- 1)
Learning html. (Part- 1)
 

KĂŒrzlich hochgeladen

+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
?#DUbAI#??##{{(☎+971_581248768%)**%*]'#abortion pills for sale in dubai@
 
Why Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire businessWhy Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire business
panagenda
 
Artificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and MythsArtificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and Myths
Joaquim Jorge
 
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Safe Software
 

KĂŒrzlich hochgeladen (20)

A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)
 
MINDCTI Revenue Release Quarter One 2024
MINDCTI Revenue Release Quarter One 2024MINDCTI Revenue Release Quarter One 2024
MINDCTI Revenue Release Quarter One 2024
 
Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...
 
Deploy with confidence: VMware Cloud Foundation 5.1 on next gen Dell PowerEdg...
Deploy with confidence: VMware Cloud Foundation 5.1 on next gen Dell PowerEdg...Deploy with confidence: VMware Cloud Foundation 5.1 on next gen Dell PowerEdg...
Deploy with confidence: VMware Cloud Foundation 5.1 on next gen Dell PowerEdg...
 
The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024
 
Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)
 
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
 
presentation ICT roal in 21st century education
presentation ICT roal in 21st century educationpresentation ICT roal in 21st century education
presentation ICT roal in 21st century education
 
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
 
Exploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone ProcessorsExploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone Processors
 
HTML Injection Attacks: Impact and Mitigation Strategies
HTML Injection Attacks: Impact and Mitigation StrategiesHTML Injection Attacks: Impact and Mitigation Strategies
HTML Injection Attacks: Impact and Mitigation Strategies
 
Why Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire businessWhy Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire business
 
Strategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a FresherStrategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a Fresher
 
Artificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and MythsArtificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and Myths
 
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
 
Scaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organizationScaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organization
 
Polkadot JAM Slides - Token2049 - By Dr. Gavin Wood
Polkadot JAM Slides - Token2049 - By Dr. Gavin WoodPolkadot JAM Slides - Token2049 - By Dr. Gavin Wood
Polkadot JAM Slides - Token2049 - By Dr. Gavin Wood
 
AWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of TerraformAWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of Terraform
 
Real Time Object Detection Using Open CV
Real Time Object Detection Using Open CVReal Time Object Detection Using Open CV
Real Time Object Detection Using Open CV
 
Manulife - Insurer Innovation Award 2024
Manulife - Insurer Innovation Award 2024Manulife - Insurer Innovation Award 2024
Manulife - Insurer Innovation Award 2024
 

Web Development Basics: HOW TO in HTML

  • 2. What is HTML? HTML is a language or codes used for describing web pages. HTML stands for Hyper Text Mark-up Language A mark-up language is a set of specifically named tags which are used to describe document or page content. HTML documents contain HTML tags and plain text.
  • 3. HTML Tags HTML markup tags are usually called “HTML tags” HTML tags are keywords OR tag names surrounded by angle brackets - e.g. <html> HTML tags normally come in pairs like <b> and </b> The first tag in a pair is the start tag, the second tag is the end tag. The end tag is written like the start tag, with a forward slash before the tag name Start and end tags are also called opening tags and closing tags
  • 4. Tag Types: START (Opening) TAG and END (Closing) TAG Syntax Start Tag End Tag e.g. <p> your text </p>
  • 5. List of Basic Tags 1. <html> : used at the beginning of each HTML document 2. <body> : used after the <html> tag to specify what is displayed on the webpage 3. <!DOCTYPE> : defines a document type (e.g. html, xml, asp.net) 4. <h> : to create a heading in the HTML document (web page) 5. <p> : to create a paragraph in the HTML document 6. <b> : to boldface text 7. <i> : to italicize text 8. <u> : to underline text 9. <a> : defines a hyperlink 10. <!--
--> : defines a comment or non-code text 11. <br> : to give a single line break in the HTML document 12. <button> : defines a clickable button 13. <hr> : defines a horizontal line 14. < img>: causes an image to be displayed on the web page
  • 6. Tag Usage in HTML document editing <!DOCTYPE html> is the first line of text used when creating a web page. This declaration helps the browser to display the web page correctly. The text between The text between The text between The text between <html> and </html> describes the web page <body> and </body> is the visible page content <h1> and </h1> is displayed as a heading <p> and </p> is displayed as a paragraph
  • 7. HTML Hyperlinks (Links) The HTML “<a> tag” defines a hyperlink. A hyperlink (or link) is a word, group of words, or image that you can click on to jump to another HTML document. When you move the cursor over a link in a Web page, the arrow will turn into a little hand. The most important attribute of the <a> tag element is the href attribute, which indicates the link's destination.
  • 8. HTML Hyperlinks (Links) 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. NOTE: ALL URLs (web addresses) MUST BE IN QUOTATION MARKS. e.g. <a href="http://www.microsoft.com"> Visit Microsoft</a>
  • 9. Cascading Style Sheets (CSS) and HTML CSS can be added to HTML in the following ways: Inline - using the style attribute in HTML elements Internal - using the <style> element in the <head> section External - using an external CSS file The preferred way to add CSS to HTML, is to put CSS syntax in separate CSS files, however the style attribute is simple and makes editing styles easier and more direct.
  • 10. Cascading Style Sheets (CSS) Syntax INLINE CSS using the STYLE attribute CSS Inline styles are declared in the START (Opening) tags Style elements must be in quotation marks. Examples: <body style="background-color:yellow"> (page background color) <h1 style="font-family:verdana"> (specifies display font for the page)  <h1 style="text-align:center"> (alignment of page content)
  • 11. Inserting an Image in a HTML document In HTML, images are defined with the <img> tag. The <img> tag is empty, meaning it contains attributes only, and has no closing tag. To display an image on a web page, you need to use the src attribute in the <img> tag. SRC stands for "source". The value of the src attribute is the URL (location & name with file extension) of the image you want to display. The name of the image file must be in quotation marks (“image name”) e.g. <img src="audi.jpg">
  • 12. HTML Editors 1. 2. 3. 4. 5. 6. 7. Notepad WordPad MS Word Adobe Dreamweaver MS Expression Web MS Visual Web Developer Express Coffee Cup HTML Editor
  • 13. Example of Simple Web Page Scripting in HTML TRY IT YOURSELF (image file must be replaced before trying code) <!--Author: Derville Lowe--> <head> <title> HMTHS </title> </head> <!--Specifies text to be displayed in the title bar of the browser--> <html> <body style="background-color:green"; align="center"> <!--Specifies how the web page is displayed using an INLINE CSS--> <img src="audi.jpg"; height=150px; width=200px> <! --Displays a jpeg image on the web page with dimensions (image size) specified--> <hr> <!--Displays a horizontal line on the web page--> <h1>My First Heading</h3> <!--Displays a heading on the web page--> <p><u>My first <br>paragraph.</u></p> <p>My Second paragraph. This is great!</p> <!--Displays an underlined paragraph with a line break--> <!--Displays a paragraph with no formatting--> <a href="http://www.microsoft.com"> Visit Microsoft </a><br> <!--Creates a link to the Microsoft website--> <button><a href="http://www.facebook.com"> Go To Facebook </a></button> <!--Creates a button link to the Facebook website--> </body> </html>
  • 14. Web Development Tutorials ONLINE Visit: www.w3schools.com