SlideShare une entreprise Scribd logo
1  sur  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

Contenu connexe

Tendances

Html / CSS Presentation
Html / CSS PresentationHtml / CSS Presentation
Html / CSS PresentationShawn Calvert
 
Introduction to html & css
Introduction to html & cssIntroduction to html & css
Introduction to html & csssesharao puvvada
 
Steph's Html5 and css presentation
Steph's Html5 and css presentationSteph's Html5 and css presentation
Steph's Html5 and css presentationstephy123123
 
Cascading Style Sheets - Part 02
Cascading Style Sheets - Part 02Cascading Style Sheets - Part 02
Cascading Style Sheets - Part 02Hatem Mahmoud
 
Html and css presentation
Html and css presentationHtml and css presentation
Html and css presentationumesh patil
 
HTML CSS and Web Development
HTML CSS and Web DevelopmentHTML CSS and Web Development
HTML CSS and Web DevelopmentRahul 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-3Devang Garach
 
Cascading Style Sheets - CSS
Cascading Style Sheets - CSSCascading Style Sheets - CSS
Cascading Style Sheets - CSSSun Technlogies
 
Web1O1 - Intro to HTML/CSS
Web1O1 - Intro to HTML/CSSWeb1O1 - Intro to HTML/CSS
Web1O1 - Intro to HTML/CSSNYCSS Meetup
 
Introduction of Html/css/js
Introduction of Html/css/jsIntroduction of Html/css/js
Introduction of Html/css/jsKnoldus Inc.
 
HTML Lists & Llinks
HTML Lists & LlinksHTML Lists & Llinks
HTML Lists & LlinksNisa Soomro
 
How Cascading Style Sheets (CSS) Works
How Cascading Style Sheets (CSS) WorksHow Cascading Style Sheets (CSS) Works
How Cascading Style Sheets (CSS) WorksAmit 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, atlantaThinkful
 
HTML 5 Simple Tutorial Part 1
HTML 5 Simple Tutorial Part 1HTML 5 Simple Tutorial Part 1
HTML 5 Simple Tutorial Part 1Sanjeev 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 basicsEliran Eliassy
 
Html,javascript & css
Html,javascript & cssHtml,javascript & css
Html,javascript & cssPredhin Sapru
 

Tendances (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
 

En vedette (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
 

Similaire à Web Development Basics: HOW TO in HTML

Similaire à 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)
 

Dernier

DEV meet-up UiPath Document Understanding May 7 2024 Amsterdam
DEV meet-up UiPath Document Understanding May 7 2024 AmsterdamDEV meet-up UiPath Document Understanding May 7 2024 Amsterdam
DEV meet-up UiPath Document Understanding May 7 2024 AmsterdamUiPathCommunity
 
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...Jeffrey Haguewood
 
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 educationjfdjdjcjdnsjd
 
Finding Java's Hidden Performance Traps @ DevoxxUK 2024
Finding Java's Hidden Performance Traps @ DevoxxUK 2024Finding Java's Hidden Performance Traps @ DevoxxUK 2024
Finding Java's Hidden Performance Traps @ DevoxxUK 2024Victor Rentea
 
Rising Above_ Dubai Floods and the Fortitude of Dubai International Airport.pdf
Rising Above_ Dubai Floods and the Fortitude of Dubai International Airport.pdfRising Above_ Dubai Floods and the Fortitude of Dubai International Airport.pdf
Rising Above_ Dubai Floods and the Fortitude of Dubai International Airport.pdfOrbitshub
 
[BuildWithAI] Introduction to Gemini.pdf
[BuildWithAI] Introduction to Gemini.pdf[BuildWithAI] Introduction to Gemini.pdf
[BuildWithAI] Introduction to Gemini.pdfSandro Moreira
 
Manulife - Insurer Transformation Award 2024
Manulife - Insurer Transformation Award 2024Manulife - Insurer Transformation Award 2024
Manulife - Insurer Transformation Award 2024The Digital Insurer
 
AXA XL - Insurer Innovation Award Americas 2024
AXA XL - Insurer Innovation Award Americas 2024AXA XL - Insurer Innovation Award Americas 2024
AXA XL - Insurer Innovation Award Americas 2024The Digital Insurer
 
Cyberprint. Dark Pink Apt Group [EN].pdf
Cyberprint. Dark Pink Apt Group [EN].pdfCyberprint. Dark Pink Apt Group [EN].pdf
Cyberprint. Dark Pink Apt Group [EN].pdfOverkill Security
 
ICT role in 21st century education and its challenges
ICT role in 21st century education and its challengesICT role in 21st century education and its challenges
ICT role in 21st century education and its challengesrafiqahmad00786416
 
Artificial Intelligence Chap.5 : Uncertainty
Artificial Intelligence Chap.5 : UncertaintyArtificial Intelligence Chap.5 : Uncertainty
Artificial Intelligence Chap.5 : UncertaintyKhushali Kathiriya
 
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...DianaGray10
 
Spring Boot vs Quarkus the ultimate battle - DevoxxUK
Spring Boot vs Quarkus the ultimate battle - DevoxxUKSpring Boot vs Quarkus the ultimate battle - DevoxxUK
Spring Boot vs Quarkus the ultimate battle - DevoxxUKJago de Vreede
 
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 WoodJuan lago vázquez
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerThousandEyes
 
Exploring Multimodal Embeddings with Milvus
Exploring Multimodal Embeddings with MilvusExploring Multimodal Embeddings with Milvus
Exploring Multimodal Embeddings with MilvusZilliz
 
Apidays New York 2024 - APIs in 2030: The Risk of Technological Sleepwalk by ...
Apidays New York 2024 - APIs in 2030: The Risk of Technological Sleepwalk by ...Apidays New York 2024 - APIs in 2030: The Risk of Technological Sleepwalk by ...
Apidays New York 2024 - APIs in 2030: The Risk of Technological Sleepwalk by ...apidays
 
Apidays New York 2024 - Passkeys: Developing APIs to enable passwordless auth...
Apidays New York 2024 - Passkeys: Developing APIs to enable passwordless auth...Apidays New York 2024 - Passkeys: Developing APIs to enable passwordless auth...
Apidays New York 2024 - Passkeys: Developing APIs to enable passwordless auth...apidays
 
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 businesspanagenda
 
EMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWER
EMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWEREMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWER
EMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWERMadyBayot
 

Dernier (20)

DEV meet-up UiPath Document Understanding May 7 2024 Amsterdam
DEV meet-up UiPath Document Understanding May 7 2024 AmsterdamDEV meet-up UiPath Document Understanding May 7 2024 Amsterdam
DEV meet-up UiPath Document Understanding May 7 2024 Amsterdam
 
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
 
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
 
Finding Java's Hidden Performance Traps @ DevoxxUK 2024
Finding Java's Hidden Performance Traps @ DevoxxUK 2024Finding Java's Hidden Performance Traps @ DevoxxUK 2024
Finding Java's Hidden Performance Traps @ DevoxxUK 2024
 
Rising Above_ Dubai Floods and the Fortitude of Dubai International Airport.pdf
Rising Above_ Dubai Floods and the Fortitude of Dubai International Airport.pdfRising Above_ Dubai Floods and the Fortitude of Dubai International Airport.pdf
Rising Above_ Dubai Floods and the Fortitude of Dubai International Airport.pdf
 
[BuildWithAI] Introduction to Gemini.pdf
[BuildWithAI] Introduction to Gemini.pdf[BuildWithAI] Introduction to Gemini.pdf
[BuildWithAI] Introduction to Gemini.pdf
 
Manulife - Insurer Transformation Award 2024
Manulife - Insurer Transformation Award 2024Manulife - Insurer Transformation Award 2024
Manulife - Insurer Transformation Award 2024
 
AXA XL - Insurer Innovation Award Americas 2024
AXA XL - Insurer Innovation Award Americas 2024AXA XL - Insurer Innovation Award Americas 2024
AXA XL - Insurer Innovation Award Americas 2024
 
Cyberprint. Dark Pink Apt Group [EN].pdf
Cyberprint. Dark Pink Apt Group [EN].pdfCyberprint. Dark Pink Apt Group [EN].pdf
Cyberprint. Dark Pink Apt Group [EN].pdf
 
ICT role in 21st century education and its challenges
ICT role in 21st century education and its challengesICT role in 21st century education and its challenges
ICT role in 21st century education and its challenges
 
Artificial Intelligence Chap.5 : Uncertainty
Artificial Intelligence Chap.5 : UncertaintyArtificial Intelligence Chap.5 : Uncertainty
Artificial Intelligence Chap.5 : Uncertainty
 
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
 
Spring Boot vs Quarkus the ultimate battle - DevoxxUK
Spring Boot vs Quarkus the ultimate battle - DevoxxUKSpring Boot vs Quarkus the ultimate battle - DevoxxUK
Spring Boot vs Quarkus the ultimate battle - DevoxxUK
 
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
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected Worker
 
Exploring Multimodal Embeddings with Milvus
Exploring Multimodal Embeddings with MilvusExploring Multimodal Embeddings with Milvus
Exploring Multimodal Embeddings with Milvus
 
Apidays New York 2024 - APIs in 2030: The Risk of Technological Sleepwalk by ...
Apidays New York 2024 - APIs in 2030: The Risk of Technological Sleepwalk by ...Apidays New York 2024 - APIs in 2030: The Risk of Technological Sleepwalk by ...
Apidays New York 2024 - APIs in 2030: The Risk of Technological Sleepwalk by ...
 
Apidays New York 2024 - Passkeys: Developing APIs to enable passwordless auth...
Apidays New York 2024 - Passkeys: Developing APIs to enable passwordless auth...Apidays New York 2024 - Passkeys: Developing APIs to enable passwordless auth...
Apidays New York 2024 - Passkeys: Developing APIs to enable passwordless auth...
 
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
 
EMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWER
EMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWEREMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWER
EMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWER
 

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