SlideShare a Scribd company logo
1 of 25
What is HTML ?
HTML is a language for describing web pages.
•

HTML stands for Hyper Text Markup Language

•

A markup language is a set of markup tags

•

The tags describe document content

•

HTML documents contain HTML tags and plain text

•

HTML documents are also called web pages
Versions of HTML
 HTML 2.0 : Some of the Netscape/Microsoft extensions, and did not support
tables,

or ALIGN attributes.

 HTML 3.0 : Upgrade the features and utility of HTML. However, it was never
completed or implemented.

 HTML 3.2 : Support for TABLES, image, heading and other element ALIGN
attributes,

and a few other finicky details.

 HTML 4 : It includes support for most of the proprietary extensions, plus
support
Cascading
enhancements).

for extra features (Internationalized documents, support for
Style Sheets, extra TABLE, FORM, and JavaScript

 HTML 5 : The <canvas> element for 2D drawing,<video>,<audio> & some extra
email,

features support like New form controls, like calendar, date, time,
url, search.
HTML Elements
 HTML elements are the fundamentals of HTML. HTML documents are simply a
text file made up of HTML elements. These elements are defined using HTML
tags. HTML tags tell your browser which elements to present and how to present
them. Where the element appears is determined by the order in which the tags
appear.
HTML Elements..
 Explanation of the above code:
 The <!DOCTYPE... > element tells the browser which version of HTML the
document is using.
 The <html> element can be thought of as a container that all other tags sit inside
(except for the !DOCTYPE tag).
 The <head> tag contains information that is not normally viewable within your
browser (such as meta tags, JavaScript and CSS),although the <title> tag is an
exception to this. The content of the "<title>" tag is displayed in the browser's title
bar (right at the very top of the browser).
 The <Body> tag is the main area for your content. This is where most of your code
(and viewable elements) will go.
 The <P> tag declares a paragraph. This contains the body text.
HTML Tags
HTML markup tags are usually called HTML tags
• HTML tags are keywords (tag names) surrounded by angle brackets like <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
• <tagname>content</tagname>
HTML Formatting
There are some common formatting tags are here below

(1)
(2)
(3)
(4)
(5)
(6)
(7)
(8)

Headings(<h1>,<h2>,…<h6>)
Strong (<strong>)
Emphasis (<em>)
Line Bracks (<br/>)
Horizontal rule (<hr>)
Unordered List (<ul>)
Ordered List (<ol>)
List Item (<li>)
Heading Tags
• There is a special tag for specifying headings in HTML. There
are 6 levels of headings in HTML ranging from <h1> for the
most important to <h6> for the least important.
Strong & Emphasis
• To place a strong importance on a piece of text, use the
<strong> element.

• You can place an emphasis on text by using the <em>
element.
Line Breaks & Horizontal Rule
• You can force a line break by using the <br> element.

• You can create a horizontal rule by using the <hr>
element.
Unordered & Ordered List
• To create an unordered list, use the <ul> element to define
the list, and the <li> element for each list item.

• To create an ordered list, use the <ol> element to define the
list, and the <li> element for each list item.
HTML Colors
• In HTML, colors can be added by using the style attribute. You can
specify a color by its name (e.g., blue), its hexadecimal value
(e.g., #0000ff), RGB value (e.g. rgb(0,0,255)), or its HSL value (e.g.
hsl(240,100%,100%)).
Foreground Color :
 To add color to an HTML element, you use style="color:{color}", where {color} is
the color value. For example: <h3 style="color: blue">HTML Colors</h3>

Background Color :
 To add a background color to an HTML element, you use style="backgroundcolor:{color}", where {color} is the color value. For example:
<h3 style="background-color: orange">HTML Colors</h3>
HTML Colors
Border Color :
 To add a colored border to an HTML element, you use style="border:{width}
{color} {style}", where {width} is the width of the border, {color} is the color of
the border, and {style} is the style of the border.
For example: <h3 style="border:1px blue solid;">HTML Colors</h3>

Transparency :
 You can also use alpha to specify the level of opacity the color should have.
This is only available on RGB and HSL notations. To do this, add the letter "a"
to the functional notation (i.e. RGBA and HSLA). For example,
rgba(0,0,255,0.5) results in a semi-transparent blue, as does hsla(240, 100%,
50%, 0.5).
For example:
<h3 style="background-color:rgba(0,0,255,1)">No transparancy</h3>
<h3 style="background-color:rgba(0,0,255,0.5)">Half transparancy</h3>
<h3 style="background-color:rgba(0,0,255,0.1)">Lots of transparancy</h3>
HTML Links
Links, otherwise known as hyperlinks, are defined using the <a> tag - otherwise
known as the anchor element.
To create a hyperlink, you use the <a> tag in conjunction with the href attribute
(href stands for Hypertext Reference). The value of the href attribute is the URL,
or, location of where the link is pointing to.
Example:
Links Targets
You can nominate whether to open the URL in a new window or the current window.
You do this with the target attribute. For example, target="_blank" opens the URL in
a new window.

Example:
Search your item <a href="http://www.google.com" target="_blank" >Google search</a>
Basic of Table
In HTML, the original purpose of tables was to present tabular data. Although they
are still used for this purpose today, many web designers tended to use tables for
advanced layouts.
Table with colspan
You can use the colspan attribute to make a cell span multiple columns.
Table with Rowspan
Rowspan is for rows just what colspan is for columns (rowspan allows a cell to span
multiple rows).
Table with Color
Background-color is use for background of table. And color use for font color.
HTML Image
Images make up a large part of the web - most websites contain images. HTML
makes it very easy for you to embed images into your web page.
To embed an image into a web page, the image first needs to exist in either .jpg, .gif,
or .png format.
The <img> element above contains a number of attributes.
Like : src,width,height,alt …
Image Links
You can make your images "clickable" so that when a user clicks the image, it opens
another URL. You do this by simply wrapping the image with hyperlink code.
HTML Form
• HTML Forms are required when you want to collect some data from the site visitor.
For example registration information: name, email address, credit card, etc.
• A form will take input from the site visitor and then will post your back-end
application such as CGI, ASP Script or PHP script etc. Then your back-end
application will do required processing on that data in whatever way you like.

•

Form elements are like text fields, textarea fields, drop-down menus, radio
buttons, checkboxes, etc. which are used to take information from the user.

•

In HTML, a form is defined using the <form></form> tags. The actual form
elements are defined between these two tags.
Input Tag
 Text : Text fields are used for when you want the user to type text or numbers
into the

form.

 Select List : A select list is a dropdown list with options. This allows the user to
select
one option from a list of pre-defined options. The
select list is created
using the <select> element in conjunction with
the <option> element.
<select>
<option value ="sydney">Sunday</option>
<option value ="melbourne">Monday</option>
<option value ="cromwell">Tuesday</option>
<option value ="queenstown">Wednesday</option>
</select>
Input Tag..
 Checkbox: Checkboxes are similar to radio buttons, but enable the user to
make

multiple selections.

 Submit : The submit button allows the user to actually submit the form.
Input Tag..
 Radio Button: Radio buttons are used for when you want the user to select
one

option from a pre-determined set of options.
Form Action..
 Usually when a user submits the form, you need the system to do something with
the data. This is where the action page comes in. The action page is the page
that the form is submitted to. This page could contain advanced scripts or
programming that inserts the form data into a database or emails an
administrator etc.

More Related Content

What's hot (20)

Html basics
Html basicsHtml basics
Html basics
 
Html
HtmlHtml
Html
 
Css Ppt
Css PptCss Ppt
Css Ppt
 
Html Tutorial
Html TutorialHtml Tutorial
Html Tutorial
 
Html
HtmlHtml
Html
 
WEB PAGE DESIGN USING HTML
WEB PAGE DESIGN USING HTMLWEB PAGE DESIGN USING HTML
WEB PAGE DESIGN USING HTML
 
Html
HtmlHtml
Html
 
Web development using html 5
Web development using html 5Web development using html 5
Web development using html 5
 
HTML Introduction
HTML IntroductionHTML Introduction
HTML Introduction
 
Html
HtmlHtml
Html
 
INTRODUCTION FOR HTML
INTRODUCTION  FOR HTML INTRODUCTION  FOR HTML
INTRODUCTION FOR HTML
 
HTML
HTMLHTML
HTML
 
HTML (Hyper Text Markup Language) by Mukesh
HTML (Hyper Text Markup Language) by MukeshHTML (Hyper Text Markup Language) by Mukesh
HTML (Hyper Text Markup Language) by Mukesh
 
Introduction to HTML
Introduction to HTMLIntroduction to HTML
Introduction to HTML
 
Html 5
Html 5Html 5
Html 5
 
Html
HtmlHtml
Html
 
HTML
HTMLHTML
HTML
 
Intro to HTML5
Intro to HTML5Intro to HTML5
Intro to HTML5
 
HTML [Basic] --by Abdulla-al Baset
HTML [Basic] --by Abdulla-al BasetHTML [Basic] --by Abdulla-al Baset
HTML [Basic] --by Abdulla-al Baset
 
Html
HtmlHtml
Html
 

Similar to Html starting

Similar to Html starting (20)

Web Development using HTML & CSS
Web Development using HTML & CSSWeb Development using HTML & CSS
Web Development using HTML & CSS
 
Html
HtmlHtml
Html
 
Html presentation
Html presentationHtml presentation
Html presentation
 
HTML Training Part1
HTML Training Part1HTML Training Part1
HTML Training Part1
 
HTML
HTMLHTML
HTML
 
Html & Html5 from scratch
Html & Html5 from scratchHtml & Html5 from scratch
Html & Html5 from scratch
 
Workshop 2 Slides.pptx
Workshop 2 Slides.pptxWorkshop 2 Slides.pptx
Workshop 2 Slides.pptx
 
HTML & CSS.ppt
HTML & CSS.pptHTML & CSS.ppt
HTML & CSS.ppt
 
Html
HtmlHtml
Html
 
Html presentation
Html presentationHtml presentation
Html presentation
 
Html tutorials by www.dmdiploma.com
Html tutorials by www.dmdiploma.comHtml tutorials by www.dmdiploma.com
Html tutorials by www.dmdiploma.com
 
HTML - LinkedIn
HTML - LinkedInHTML - LinkedIn
HTML - LinkedIn
 
HTML Comprehensive Overview
HTML Comprehensive OverviewHTML Comprehensive Overview
HTML Comprehensive Overview
 
PPT-203105353-1.pdf
PPT-203105353-1.pdfPPT-203105353-1.pdf
PPT-203105353-1.pdf
 
HTML 5 Topic 2
HTML 5 Topic 2HTML 5 Topic 2
HTML 5 Topic 2
 
HTML
HTMLHTML
HTML
 
Introduction to web design discussing which languages is used for website des...
Introduction to web design discussing which languages is used for website des...Introduction to web design discussing which languages is used for website des...
Introduction to web design discussing which languages is used for website des...
 
Html
HtmlHtml
Html
 
Presentation html
Presentation   htmlPresentation   html
Presentation html
 
web development.pdf
web development.pdfweb development.pdf
web development.pdf
 

Recently uploaded

Fostering Friendships - Enhancing Social Bonds in the Classroom
Fostering Friendships - Enhancing Social Bonds  in the ClassroomFostering Friendships - Enhancing Social Bonds  in the Classroom
Fostering Friendships - Enhancing Social Bonds in the ClassroomPooky Knightsmith
 
COMMUNICATING NEGATIVE NEWS - APPROACHES .pptx
COMMUNICATING NEGATIVE NEWS - APPROACHES .pptxCOMMUNICATING NEGATIVE NEWS - APPROACHES .pptx
COMMUNICATING NEGATIVE NEWS - APPROACHES .pptxannathomasp01
 
Salient Features of India constitution especially power and functions
Salient Features of India constitution especially power and functionsSalient Features of India constitution especially power and functions
Salient Features of India constitution especially power and functionsKarakKing
 
This PowerPoint helps students to consider the concept of infinity.
This PowerPoint helps students to consider the concept of infinity.This PowerPoint helps students to consider the concept of infinity.
This PowerPoint helps students to consider the concept of infinity.christianmathematics
 
Single or Multiple melodic lines structure
Single or Multiple melodic lines structureSingle or Multiple melodic lines structure
Single or Multiple melodic lines structuredhanjurrannsibayan2
 
UGC NET Paper 1 Mathematical Reasoning & Aptitude.pdf
UGC NET Paper 1 Mathematical Reasoning & Aptitude.pdfUGC NET Paper 1 Mathematical Reasoning & Aptitude.pdf
UGC NET Paper 1 Mathematical Reasoning & Aptitude.pdfNirmal Dwivedi
 
NO1 Top Black Magic Specialist In Lahore Black magic In Pakistan Kala Ilam Ex...
NO1 Top Black Magic Specialist In Lahore Black magic In Pakistan Kala Ilam Ex...NO1 Top Black Magic Specialist In Lahore Black magic In Pakistan Kala Ilam Ex...
NO1 Top Black Magic Specialist In Lahore Black magic In Pakistan Kala Ilam Ex...Amil baba
 
Basic Civil Engineering first year Notes- Chapter 4 Building.pptx
Basic Civil Engineering first year Notes- Chapter 4 Building.pptxBasic Civil Engineering first year Notes- Chapter 4 Building.pptx
Basic Civil Engineering first year Notes- Chapter 4 Building.pptxDenish Jangid
 
Wellbeing inclusion and digital dystopias.pptx
Wellbeing inclusion and digital dystopias.pptxWellbeing inclusion and digital dystopias.pptx
Wellbeing inclusion and digital dystopias.pptxJisc
 
ICT Role in 21st Century Education & its Challenges.pptx
ICT Role in 21st Century Education & its Challenges.pptxICT Role in 21st Century Education & its Challenges.pptx
ICT Role in 21st Century Education & its Challenges.pptxAreebaZafar22
 
Google Gemini An AI Revolution in Education.pptx
Google Gemini An AI Revolution in Education.pptxGoogle Gemini An AI Revolution in Education.pptx
Google Gemini An AI Revolution in Education.pptxDr. Sarita Anand
 
Interdisciplinary_Insights_Data_Collection_Methods.pptx
Interdisciplinary_Insights_Data_Collection_Methods.pptxInterdisciplinary_Insights_Data_Collection_Methods.pptx
Interdisciplinary_Insights_Data_Collection_Methods.pptxPooja Bhuva
 
Graduate Outcomes Presentation Slides - English
Graduate Outcomes Presentation Slides - EnglishGraduate Outcomes Presentation Slides - English
Graduate Outcomes Presentation Slides - Englishneillewis46
 
FSB Advising Checklist - Orientation 2024
FSB Advising Checklist - Orientation 2024FSB Advising Checklist - Orientation 2024
FSB Advising Checklist - Orientation 2024Elizabeth Walsh
 
80 ĐỀ THI THỬ TUYỂN SINH TIẾNG ANH VÀO 10 SỞ GD – ĐT THÀNH PHỐ HỒ CHÍ MINH NĂ...
80 ĐỀ THI THỬ TUYỂN SINH TIẾNG ANH VÀO 10 SỞ GD – ĐT THÀNH PHỐ HỒ CHÍ MINH NĂ...80 ĐỀ THI THỬ TUYỂN SINH TIẾNG ANH VÀO 10 SỞ GD – ĐT THÀNH PHỐ HỒ CHÍ MINH NĂ...
80 ĐỀ THI THỬ TUYỂN SINH TIẾNG ANH VÀO 10 SỞ GD – ĐT THÀNH PHỐ HỒ CHÍ MINH NĂ...Nguyen Thanh Tu Collection
 
Beyond_Borders_Understanding_Anime_and_Manga_Fandom_A_Comprehensive_Audience_...
Beyond_Borders_Understanding_Anime_and_Manga_Fandom_A_Comprehensive_Audience_...Beyond_Borders_Understanding_Anime_and_Manga_Fandom_A_Comprehensive_Audience_...
Beyond_Borders_Understanding_Anime_and_Manga_Fandom_A_Comprehensive_Audience_...Pooja Bhuva
 
Understanding Accommodations and Modifications
Understanding  Accommodations and ModificationsUnderstanding  Accommodations and Modifications
Understanding Accommodations and ModificationsMJDuyan
 
Holdier Curriculum Vitae (April 2024).pdf
Holdier Curriculum Vitae (April 2024).pdfHoldier Curriculum Vitae (April 2024).pdf
Holdier Curriculum Vitae (April 2024).pdfagholdier
 
Python Notes for mca i year students osmania university.docx
Python Notes for mca i year students osmania university.docxPython Notes for mca i year students osmania university.docx
Python Notes for mca i year students osmania university.docxRamakrishna Reddy Bijjam
 

Recently uploaded (20)

Fostering Friendships - Enhancing Social Bonds in the Classroom
Fostering Friendships - Enhancing Social Bonds  in the ClassroomFostering Friendships - Enhancing Social Bonds  in the Classroom
Fostering Friendships - Enhancing Social Bonds in the Classroom
 
Mehran University Newsletter Vol-X, Issue-I, 2024
Mehran University Newsletter Vol-X, Issue-I, 2024Mehran University Newsletter Vol-X, Issue-I, 2024
Mehran University Newsletter Vol-X, Issue-I, 2024
 
COMMUNICATING NEGATIVE NEWS - APPROACHES .pptx
COMMUNICATING NEGATIVE NEWS - APPROACHES .pptxCOMMUNICATING NEGATIVE NEWS - APPROACHES .pptx
COMMUNICATING NEGATIVE NEWS - APPROACHES .pptx
 
Salient Features of India constitution especially power and functions
Salient Features of India constitution especially power and functionsSalient Features of India constitution especially power and functions
Salient Features of India constitution especially power and functions
 
This PowerPoint helps students to consider the concept of infinity.
This PowerPoint helps students to consider the concept of infinity.This PowerPoint helps students to consider the concept of infinity.
This PowerPoint helps students to consider the concept of infinity.
 
Single or Multiple melodic lines structure
Single or Multiple melodic lines structureSingle or Multiple melodic lines structure
Single or Multiple melodic lines structure
 
UGC NET Paper 1 Mathematical Reasoning & Aptitude.pdf
UGC NET Paper 1 Mathematical Reasoning & Aptitude.pdfUGC NET Paper 1 Mathematical Reasoning & Aptitude.pdf
UGC NET Paper 1 Mathematical Reasoning & Aptitude.pdf
 
NO1 Top Black Magic Specialist In Lahore Black magic In Pakistan Kala Ilam Ex...
NO1 Top Black Magic Specialist In Lahore Black magic In Pakistan Kala Ilam Ex...NO1 Top Black Magic Specialist In Lahore Black magic In Pakistan Kala Ilam Ex...
NO1 Top Black Magic Specialist In Lahore Black magic In Pakistan Kala Ilam Ex...
 
Basic Civil Engineering first year Notes- Chapter 4 Building.pptx
Basic Civil Engineering first year Notes- Chapter 4 Building.pptxBasic Civil Engineering first year Notes- Chapter 4 Building.pptx
Basic Civil Engineering first year Notes- Chapter 4 Building.pptx
 
Wellbeing inclusion and digital dystopias.pptx
Wellbeing inclusion and digital dystopias.pptxWellbeing inclusion and digital dystopias.pptx
Wellbeing inclusion and digital dystopias.pptx
 
ICT Role in 21st Century Education & its Challenges.pptx
ICT Role in 21st Century Education & its Challenges.pptxICT Role in 21st Century Education & its Challenges.pptx
ICT Role in 21st Century Education & its Challenges.pptx
 
Google Gemini An AI Revolution in Education.pptx
Google Gemini An AI Revolution in Education.pptxGoogle Gemini An AI Revolution in Education.pptx
Google Gemini An AI Revolution in Education.pptx
 
Interdisciplinary_Insights_Data_Collection_Methods.pptx
Interdisciplinary_Insights_Data_Collection_Methods.pptxInterdisciplinary_Insights_Data_Collection_Methods.pptx
Interdisciplinary_Insights_Data_Collection_Methods.pptx
 
Graduate Outcomes Presentation Slides - English
Graduate Outcomes Presentation Slides - EnglishGraduate Outcomes Presentation Slides - English
Graduate Outcomes Presentation Slides - English
 
FSB Advising Checklist - Orientation 2024
FSB Advising Checklist - Orientation 2024FSB Advising Checklist - Orientation 2024
FSB Advising Checklist - Orientation 2024
 
80 ĐỀ THI THỬ TUYỂN SINH TIẾNG ANH VÀO 10 SỞ GD – ĐT THÀNH PHỐ HỒ CHÍ MINH NĂ...
80 ĐỀ THI THỬ TUYỂN SINH TIẾNG ANH VÀO 10 SỞ GD – ĐT THÀNH PHỐ HỒ CHÍ MINH NĂ...80 ĐỀ THI THỬ TUYỂN SINH TIẾNG ANH VÀO 10 SỞ GD – ĐT THÀNH PHỐ HỒ CHÍ MINH NĂ...
80 ĐỀ THI THỬ TUYỂN SINH TIẾNG ANH VÀO 10 SỞ GD – ĐT THÀNH PHỐ HỒ CHÍ MINH NĂ...
 
Beyond_Borders_Understanding_Anime_and_Manga_Fandom_A_Comprehensive_Audience_...
Beyond_Borders_Understanding_Anime_and_Manga_Fandom_A_Comprehensive_Audience_...Beyond_Borders_Understanding_Anime_and_Manga_Fandom_A_Comprehensive_Audience_...
Beyond_Borders_Understanding_Anime_and_Manga_Fandom_A_Comprehensive_Audience_...
 
Understanding Accommodations and Modifications
Understanding  Accommodations and ModificationsUnderstanding  Accommodations and Modifications
Understanding Accommodations and Modifications
 
Holdier Curriculum Vitae (April 2024).pdf
Holdier Curriculum Vitae (April 2024).pdfHoldier Curriculum Vitae (April 2024).pdf
Holdier Curriculum Vitae (April 2024).pdf
 
Python Notes for mca i year students osmania university.docx
Python Notes for mca i year students osmania university.docxPython Notes for mca i year students osmania university.docx
Python Notes for mca i year students osmania university.docx
 

Html starting

  • 1. What is HTML ? HTML is a language for describing web pages. • HTML stands for Hyper Text Markup Language • A markup language is a set of markup tags • The tags describe document content • HTML documents contain HTML tags and plain text • HTML documents are also called web pages
  • 2. Versions of HTML  HTML 2.0 : Some of the Netscape/Microsoft extensions, and did not support tables, or ALIGN attributes.  HTML 3.0 : Upgrade the features and utility of HTML. However, it was never completed or implemented.  HTML 3.2 : Support for TABLES, image, heading and other element ALIGN attributes, and a few other finicky details.  HTML 4 : It includes support for most of the proprietary extensions, plus support Cascading enhancements). for extra features (Internationalized documents, support for Style Sheets, extra TABLE, FORM, and JavaScript  HTML 5 : The <canvas> element for 2D drawing,<video>,<audio> & some extra email, features support like New form controls, like calendar, date, time, url, search.
  • 3. HTML Elements  HTML elements are the fundamentals of HTML. HTML documents are simply a text file made up of HTML elements. These elements are defined using HTML tags. HTML tags tell your browser which elements to present and how to present them. Where the element appears is determined by the order in which the tags appear.
  • 4. HTML Elements..  Explanation of the above code:  The <!DOCTYPE... > element tells the browser which version of HTML the document is using.  The <html> element can be thought of as a container that all other tags sit inside (except for the !DOCTYPE tag).  The <head> tag contains information that is not normally viewable within your browser (such as meta tags, JavaScript and CSS),although the <title> tag is an exception to this. The content of the "<title>" tag is displayed in the browser's title bar (right at the very top of the browser).  The <Body> tag is the main area for your content. This is where most of your code (and viewable elements) will go.  The <P> tag declares a paragraph. This contains the body text.
  • 5. HTML Tags HTML markup tags are usually called HTML tags • HTML tags are keywords (tag names) surrounded by angle brackets like <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 • <tagname>content</tagname>
  • 6. HTML Formatting There are some common formatting tags are here below (1) (2) (3) (4) (5) (6) (7) (8) Headings(<h1>,<h2>,…<h6>) Strong (<strong>) Emphasis (<em>) Line Bracks (<br/>) Horizontal rule (<hr>) Unordered List (<ul>) Ordered List (<ol>) List Item (<li>)
  • 7. Heading Tags • There is a special tag for specifying headings in HTML. There are 6 levels of headings in HTML ranging from <h1> for the most important to <h6> for the least important.
  • 8. Strong & Emphasis • To place a strong importance on a piece of text, use the <strong> element. • You can place an emphasis on text by using the <em> element.
  • 9. Line Breaks & Horizontal Rule • You can force a line break by using the <br> element. • You can create a horizontal rule by using the <hr> element.
  • 10. Unordered & Ordered List • To create an unordered list, use the <ul> element to define the list, and the <li> element for each list item. • To create an ordered list, use the <ol> element to define the list, and the <li> element for each list item.
  • 11. HTML Colors • In HTML, colors can be added by using the style attribute. You can specify a color by its name (e.g., blue), its hexadecimal value (e.g., #0000ff), RGB value (e.g. rgb(0,0,255)), or its HSL value (e.g. hsl(240,100%,100%)). Foreground Color :  To add color to an HTML element, you use style="color:{color}", where {color} is the color value. For example: <h3 style="color: blue">HTML Colors</h3> Background Color :  To add a background color to an HTML element, you use style="backgroundcolor:{color}", where {color} is the color value. For example: <h3 style="background-color: orange">HTML Colors</h3>
  • 12. HTML Colors Border Color :  To add a colored border to an HTML element, you use style="border:{width} {color} {style}", where {width} is the width of the border, {color} is the color of the border, and {style} is the style of the border. For example: <h3 style="border:1px blue solid;">HTML Colors</h3> Transparency :  You can also use alpha to specify the level of opacity the color should have. This is only available on RGB and HSL notations. To do this, add the letter "a" to the functional notation (i.e. RGBA and HSLA). For example, rgba(0,0,255,0.5) results in a semi-transparent blue, as does hsla(240, 100%, 50%, 0.5). For example: <h3 style="background-color:rgba(0,0,255,1)">No transparancy</h3> <h3 style="background-color:rgba(0,0,255,0.5)">Half transparancy</h3> <h3 style="background-color:rgba(0,0,255,0.1)">Lots of transparancy</h3>
  • 13. HTML Links Links, otherwise known as hyperlinks, are defined using the <a> tag - otherwise known as the anchor element. To create a hyperlink, you use the <a> tag in conjunction with the href attribute (href stands for Hypertext Reference). The value of the href attribute is the URL, or, location of where the link is pointing to. Example:
  • 14. Links Targets You can nominate whether to open the URL in a new window or the current window. You do this with the target attribute. For example, target="_blank" opens the URL in a new window. Example: Search your item <a href="http://www.google.com" target="_blank" >Google search</a>
  • 15. Basic of Table In HTML, the original purpose of tables was to present tabular data. Although they are still used for this purpose today, many web designers tended to use tables for advanced layouts.
  • 16. Table with colspan You can use the colspan attribute to make a cell span multiple columns.
  • 17. Table with Rowspan Rowspan is for rows just what colspan is for columns (rowspan allows a cell to span multiple rows).
  • 18. Table with Color Background-color is use for background of table. And color use for font color.
  • 19. HTML Image Images make up a large part of the web - most websites contain images. HTML makes it very easy for you to embed images into your web page. To embed an image into a web page, the image first needs to exist in either .jpg, .gif, or .png format. The <img> element above contains a number of attributes. Like : src,width,height,alt …
  • 20. Image Links You can make your images "clickable" so that when a user clicks the image, it opens another URL. You do this by simply wrapping the image with hyperlink code.
  • 21. HTML Form • HTML Forms are required when you want to collect some data from the site visitor. For example registration information: name, email address, credit card, etc. • A form will take input from the site visitor and then will post your back-end application such as CGI, ASP Script or PHP script etc. Then your back-end application will do required processing on that data in whatever way you like. • Form elements are like text fields, textarea fields, drop-down menus, radio buttons, checkboxes, etc. which are used to take information from the user. • In HTML, a form is defined using the <form></form> tags. The actual form elements are defined between these two tags.
  • 22. Input Tag  Text : Text fields are used for when you want the user to type text or numbers into the form.  Select List : A select list is a dropdown list with options. This allows the user to select one option from a list of pre-defined options. The select list is created using the <select> element in conjunction with the <option> element. <select> <option value ="sydney">Sunday</option> <option value ="melbourne">Monday</option> <option value ="cromwell">Tuesday</option> <option value ="queenstown">Wednesday</option> </select>
  • 23. Input Tag..  Checkbox: Checkboxes are similar to radio buttons, but enable the user to make multiple selections.  Submit : The submit button allows the user to actually submit the form.
  • 24. Input Tag..  Radio Button: Radio buttons are used for when you want the user to select one option from a pre-determined set of options.
  • 25. Form Action..  Usually when a user submits the form, you need the system to do something with the data. This is where the action page comes in. The action page is the page that the form is submitted to. This page could contain advanced scripts or programming that inserts the form data into a database or emails an administrator etc.