SlideShare a Scribd company logo
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

More Related Content

What's hot

Html / CSS Presentation
Html / CSS PresentationHtml / CSS Presentation
Html / CSS Presentation
Shawn Calvert
 
Introduction to html & css
Introduction to html & cssIntroduction to html & css
Introduction to html & css
sesharao puvvada
 
Steph's Html5 and css presentation
Steph's Html5 and css presentationSteph's Html5 and css presentation
Steph's Html5 and css presentation
stephy123123
 
Cascading Style Sheets - Part 02
Cascading Style Sheets - Part 02Cascading Style Sheets - Part 02
Cascading Style Sheets - Part 02
Hatem Mahmoud
 
Html and css presentation
Html and css presentationHtml and css presentation
Html and css presentation
umesh patil
 
HTML CSS and Web Development
HTML CSS and Web DevelopmentHTML CSS and Web Development
HTML CSS and Web Development
Rahul Mishra
 
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
Devang Garach
 
Cascading Style Sheets - CSS
Cascading Style Sheets - CSSCascading Style Sheets - CSS
Cascading Style Sheets - CSS
Sun Technlogies
 
Web1O1 - Intro to HTML/CSS
Web1O1 - Intro to HTML/CSSWeb1O1 - Intro to HTML/CSS
Web1O1 - Intro to HTML/CSS
NYCSS Meetup
 
Introduction of Html/css/js
Introduction of Html/css/jsIntroduction of Html/css/js
Introduction of Html/css/js
Knoldus Inc.
 
HTML Lists & Llinks
HTML Lists & LlinksHTML Lists & Llinks
HTML Lists & Llinks
Nisa Soomro
 
How Cascading Style Sheets (CSS) Works
How Cascading Style Sheets (CSS) WorksHow Cascading Style Sheets (CSS) Works
How Cascading Style Sheets (CSS) Works
Amit Tyagi
 
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
 
HTML 5 Simple Tutorial Part 1
HTML 5 Simple Tutorial Part 1HTML 5 Simple Tutorial Part 1
HTML 5 Simple Tutorial Part 1
Sanjeev Kumar
 
HTML, CSS And JAVASCRIPT!
HTML, CSS And JAVASCRIPT!HTML, CSS And JAVASCRIPT!
HTML, CSS And JAVASCRIPT!
Syahmi RH
 
Intro to HTML and CSS basics
Intro to HTML and CSS basicsIntro to HTML and CSS basics
Intro to HTML and CSS basics
Eliran Eliassy
 
Html,javascript & css
Html,javascript & cssHtml,javascript & css
Html,javascript & css
Predhin Sapru
 
HTML CSS & Javascript
HTML CSS & JavascriptHTML CSS & Javascript
HTML CSS & Javascript
David Lindkvist
 
html-css
html-csshtml-css

What's hot (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
 

Viewers also liked

HTML Basics
HTML BasicsHTML Basics
HTML Basics
Brian Dys Sahagun
 
Basic Html Tags Tutorial For Kids
Basic Html Tags Tutorial For KidsBasic Html Tags Tutorial For Kids
Basic Html Tags Tutorial For Kids
Olivia Moran
 
Webdevelopment workshop-html
Webdevelopment workshop-htmlWebdevelopment workshop-html
Webdevelopment workshop-html
Joe Joseph
 
Html basics
Html basicsHtml basics
Html basics
mcatahir947
 
Database and types of database
Database and types of databaseDatabase and types of database
Database and types of database
baabtra.com - No. 1 supplier of quality freshers
 
Html basic
Html basicHtml basic
Html basic
Charitha Bandara
 
HTML CSS Basics
HTML CSS BasicsHTML CSS Basics
HTML CSS Basics
Mai Moustafa
 
Html
HtmlHtml
Introduction to HTML
Introduction to HTMLIntroduction to HTML
Introduction to HTML
MayaLisa
 
Introduction to html
Introduction to htmlIntroduction to html
Introduction to htmlvikasgaur31
 

Viewers also liked (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
 

Similar to Web Development Basics: HOW TO in HTML

Introduction to Html
Introduction to HtmlIntroduction to Html
Introduction to Html
Folasade Adedeji
 
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
Manoj kumar Deswal
 
HTML.pptx
HTML.pptxHTML.pptx
HTML.pptx
asdfhgjh1
 
Html
HtmlHtml
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
 
HTML
HTMLHTML
HTML Training Part1
HTML Training Part1HTML Training Part1
HTML Training Part1
than sare
 
HTML - part 1
HTML - part 1HTML - part 1
HTML - part 1
Fahad Masood
 
Computer fundamentals-internet p2
Computer fundamentals-internet p2Computer fundamentals-internet p2
Computer fundamentals-internet p2
Leo Mark Villar
 
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
AAFREEN SHAIKH
 
HTML : INTRODUCTION TO WEB DESIGN Presentation
HTML : INTRODUCTION TO WEB DESIGN PresentationHTML : INTRODUCTION TO WEB DESIGN Presentation
HTML : INTRODUCTION TO WEB DESIGN Presentation
surajsutar467
 
CSE-HTML-PPT.pptx
CSE-HTML-PPT.pptxCSE-HTML-PPT.pptx
CSE-HTML-PPT.pptx
PsKulkarni1
 
Class Intro / HTML Basics
Class Intro / HTML BasicsClass Intro / HTML Basics
Class Intro / HTML BasicsShawn Calvert
 
HTML.pdf
HTML.pdfHTML.pdf
HTML.pdf
aneebkmct
 
About html
About htmlAbout html
About html
Manvigangwar
 
Html basics
Html basicsHtml basics
Html basics
Vjay Vijju
 
Learning html. (Part- 1)
Learning html. (Part- 1)Learning html. (Part- 1)
Learning html. (Part- 1)
manya abrol
 

Similar to 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)
 

Recently uploaded

20240607 QFM018 Elixir Reading List May 2024
20240607 QFM018 Elixir Reading List May 202420240607 QFM018 Elixir Reading List May 2024
20240607 QFM018 Elixir Reading List May 2024
Matthew Sinclair
 
Elevating Tactical DDD Patterns Through Object Calisthenics
Elevating Tactical DDD Patterns Through Object CalisthenicsElevating Tactical DDD Patterns Through Object Calisthenics
Elevating Tactical DDD Patterns Through Object Calisthenics
Dorra BARTAGUIZ
 
Secstrike : Reverse Engineering & Pwnable tools for CTF.pptx
Secstrike : Reverse Engineering & Pwnable tools for CTF.pptxSecstrike : Reverse Engineering & Pwnable tools for CTF.pptx
Secstrike : Reverse Engineering & Pwnable tools for CTF.pptx
nkrafacyberclub
 
GDG Cloud Southlake #33: Boule & Rebala: Effective AppSec in SDLC using Deplo...
GDG Cloud Southlake #33: Boule & Rebala: Effective AppSec in SDLC using Deplo...GDG Cloud Southlake #33: Boule & Rebala: Effective AppSec in SDLC using Deplo...
GDG Cloud Southlake #33: Boule & Rebala: Effective AppSec in SDLC using Deplo...
James Anderson
 
GraphSummit Singapore | Enhancing Changi Airport Group's Passenger Experience...
GraphSummit Singapore | Enhancing Changi Airport Group's Passenger Experience...GraphSummit Singapore | Enhancing Changi Airport Group's Passenger Experience...
GraphSummit Singapore | Enhancing Changi Airport Group's Passenger Experience...
Neo4j
 
Free Complete Python - A step towards Data Science
Free Complete Python - A step towards Data ScienceFree Complete Python - A step towards Data Science
Free Complete Python - A step towards Data Science
RinaMondal9
 
LF Energy Webinar: Electrical Grid Modelling and Simulation Through PowSyBl -...
LF Energy Webinar: Electrical Grid Modelling and Simulation Through PowSyBl -...LF Energy Webinar: Electrical Grid Modelling and Simulation Through PowSyBl -...
LF Energy Webinar: Electrical Grid Modelling and Simulation Through PowSyBl -...
DanBrown980551
 
Essentials of Automations: The Art of Triggers and Actions in FME
Essentials of Automations: The Art of Triggers and Actions in FMEEssentials of Automations: The Art of Triggers and Actions in FME
Essentials of Automations: The Art of Triggers and Actions in FME
Safe Software
 
UiPath Test Automation using UiPath Test Suite series, part 4
UiPath Test Automation using UiPath Test Suite series, part 4UiPath Test Automation using UiPath Test Suite series, part 4
UiPath Test Automation using UiPath Test Suite series, part 4
DianaGray10
 
FIDO Alliance Osaka Seminar: Overview.pdf
FIDO Alliance Osaka Seminar: Overview.pdfFIDO Alliance Osaka Seminar: Overview.pdf
FIDO Alliance Osaka Seminar: Overview.pdf
FIDO Alliance
 
FIDO Alliance Osaka Seminar: The WebAuthn API and Discoverable Credentials.pdf
FIDO Alliance Osaka Seminar: The WebAuthn API and Discoverable Credentials.pdfFIDO Alliance Osaka Seminar: The WebAuthn API and Discoverable Credentials.pdf
FIDO Alliance Osaka Seminar: The WebAuthn API and Discoverable Credentials.pdf
FIDO Alliance
 
Uni Systems Copilot event_05062024_C.Vlachos.pdf
Uni Systems Copilot event_05062024_C.Vlachos.pdfUni Systems Copilot event_05062024_C.Vlachos.pdf
Uni Systems Copilot event_05062024_C.Vlachos.pdf
Uni Systems S.M.S.A.
 
Transcript: Selling digital books in 2024: Insights from industry leaders - T...
Transcript: Selling digital books in 2024: Insights from industry leaders - T...Transcript: Selling digital books in 2024: Insights from industry leaders - T...
Transcript: Selling digital books in 2024: Insights from industry leaders - T...
BookNet Canada
 
A tale of scale & speed: How the US Navy is enabling software delivery from l...
A tale of scale & speed: How the US Navy is enabling software delivery from l...A tale of scale & speed: How the US Navy is enabling software delivery from l...
A tale of scale & speed: How the US Navy is enabling software delivery from l...
sonjaschweigert1
 
PHP Frameworks: I want to break free (IPC Berlin 2024)
PHP Frameworks: I want to break free (IPC Berlin 2024)PHP Frameworks: I want to break free (IPC Berlin 2024)
PHP Frameworks: I want to break free (IPC Berlin 2024)
Ralf Eggert
 
Communications Mining Series - Zero to Hero - Session 1
Communications Mining Series - Zero to Hero - Session 1Communications Mining Series - Zero to Hero - Session 1
Communications Mining Series - Zero to Hero - Session 1
DianaGray10
 
Introduction to CHERI technology - Cybersecurity
Introduction to CHERI technology - CybersecurityIntroduction to CHERI technology - Cybersecurity
Introduction to CHERI technology - Cybersecurity
mikeeftimakis1
 
Generative AI Deep Dive: Advancing from Proof of Concept to Production
Generative AI Deep Dive: Advancing from Proof of Concept to ProductionGenerative AI Deep Dive: Advancing from Proof of Concept to Production
Generative AI Deep Dive: Advancing from Proof of Concept to Production
Aggregage
 
The Future of Platform Engineering
The Future of Platform EngineeringThe Future of Platform Engineering
The Future of Platform Engineering
Jemma Hussein Allen
 
Removing Uninteresting Bytes in Software Fuzzing
Removing Uninteresting Bytes in Software FuzzingRemoving Uninteresting Bytes in Software Fuzzing
Removing Uninteresting Bytes in Software Fuzzing
Aftab Hussain
 

Recently uploaded (20)

20240607 QFM018 Elixir Reading List May 2024
20240607 QFM018 Elixir Reading List May 202420240607 QFM018 Elixir Reading List May 2024
20240607 QFM018 Elixir Reading List May 2024
 
Elevating Tactical DDD Patterns Through Object Calisthenics
Elevating Tactical DDD Patterns Through Object CalisthenicsElevating Tactical DDD Patterns Through Object Calisthenics
Elevating Tactical DDD Patterns Through Object Calisthenics
 
Secstrike : Reverse Engineering & Pwnable tools for CTF.pptx
Secstrike : Reverse Engineering & Pwnable tools for CTF.pptxSecstrike : Reverse Engineering & Pwnable tools for CTF.pptx
Secstrike : Reverse Engineering & Pwnable tools for CTF.pptx
 
GDG Cloud Southlake #33: Boule & Rebala: Effective AppSec in SDLC using Deplo...
GDG Cloud Southlake #33: Boule & Rebala: Effective AppSec in SDLC using Deplo...GDG Cloud Southlake #33: Boule & Rebala: Effective AppSec in SDLC using Deplo...
GDG Cloud Southlake #33: Boule & Rebala: Effective AppSec in SDLC using Deplo...
 
GraphSummit Singapore | Enhancing Changi Airport Group's Passenger Experience...
GraphSummit Singapore | Enhancing Changi Airport Group's Passenger Experience...GraphSummit Singapore | Enhancing Changi Airport Group's Passenger Experience...
GraphSummit Singapore | Enhancing Changi Airport Group's Passenger Experience...
 
Free Complete Python - A step towards Data Science
Free Complete Python - A step towards Data ScienceFree Complete Python - A step towards Data Science
Free Complete Python - A step towards Data Science
 
LF Energy Webinar: Electrical Grid Modelling and Simulation Through PowSyBl -...
LF Energy Webinar: Electrical Grid Modelling and Simulation Through PowSyBl -...LF Energy Webinar: Electrical Grid Modelling and Simulation Through PowSyBl -...
LF Energy Webinar: Electrical Grid Modelling and Simulation Through PowSyBl -...
 
Essentials of Automations: The Art of Triggers and Actions in FME
Essentials of Automations: The Art of Triggers and Actions in FMEEssentials of Automations: The Art of Triggers and Actions in FME
Essentials of Automations: The Art of Triggers and Actions in FME
 
UiPath Test Automation using UiPath Test Suite series, part 4
UiPath Test Automation using UiPath Test Suite series, part 4UiPath Test Automation using UiPath Test Suite series, part 4
UiPath Test Automation using UiPath Test Suite series, part 4
 
FIDO Alliance Osaka Seminar: Overview.pdf
FIDO Alliance Osaka Seminar: Overview.pdfFIDO Alliance Osaka Seminar: Overview.pdf
FIDO Alliance Osaka Seminar: Overview.pdf
 
FIDO Alliance Osaka Seminar: The WebAuthn API and Discoverable Credentials.pdf
FIDO Alliance Osaka Seminar: The WebAuthn API and Discoverable Credentials.pdfFIDO Alliance Osaka Seminar: The WebAuthn API and Discoverable Credentials.pdf
FIDO Alliance Osaka Seminar: The WebAuthn API and Discoverable Credentials.pdf
 
Uni Systems Copilot event_05062024_C.Vlachos.pdf
Uni Systems Copilot event_05062024_C.Vlachos.pdfUni Systems Copilot event_05062024_C.Vlachos.pdf
Uni Systems Copilot event_05062024_C.Vlachos.pdf
 
Transcript: Selling digital books in 2024: Insights from industry leaders - T...
Transcript: Selling digital books in 2024: Insights from industry leaders - T...Transcript: Selling digital books in 2024: Insights from industry leaders - T...
Transcript: Selling digital books in 2024: Insights from industry leaders - T...
 
A tale of scale & speed: How the US Navy is enabling software delivery from l...
A tale of scale & speed: How the US Navy is enabling software delivery from l...A tale of scale & speed: How the US Navy is enabling software delivery from l...
A tale of scale & speed: How the US Navy is enabling software delivery from l...
 
PHP Frameworks: I want to break free (IPC Berlin 2024)
PHP Frameworks: I want to break free (IPC Berlin 2024)PHP Frameworks: I want to break free (IPC Berlin 2024)
PHP Frameworks: I want to break free (IPC Berlin 2024)
 
Communications Mining Series - Zero to Hero - Session 1
Communications Mining Series - Zero to Hero - Session 1Communications Mining Series - Zero to Hero - Session 1
Communications Mining Series - Zero to Hero - Session 1
 
Introduction to CHERI technology - Cybersecurity
Introduction to CHERI technology - CybersecurityIntroduction to CHERI technology - Cybersecurity
Introduction to CHERI technology - Cybersecurity
 
Generative AI Deep Dive: Advancing from Proof of Concept to Production
Generative AI Deep Dive: Advancing from Proof of Concept to ProductionGenerative AI Deep Dive: Advancing from Proof of Concept to Production
Generative AI Deep Dive: Advancing from Proof of Concept to Production
 
The Future of Platform Engineering
The Future of Platform EngineeringThe Future of Platform Engineering
The Future of Platform Engineering
 
Removing Uninteresting Bytes in Software Fuzzing
Removing Uninteresting Bytes in Software FuzzingRemoving Uninteresting Bytes in Software Fuzzing
Removing Uninteresting Bytes in Software Fuzzing
 

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