SlideShare a Scribd company logo
Introduction toIntroduction to
HTMLHTML
Made by Anmol Pant, Class 8C,
Roll NO.-31
HTML
HTML, which stands for HyperText Markup Language, and it is
used to create hypertext documents for the world wide web.
It provides a means to create structured documents by
denoting structural semantics for text such as headings,
paragraphs, lists, links, quotes, and other items. It allows
images and objects to be embedded and can be used to create
interactive forms. It is written in the form of HTML elements
consisting of "tags" surrounded by angle brackets within the
web page content. A tag is a markup which indicates how the
contents of the webpage should look like.
All the HTML documents are created in a Word
processing software such as Notepad and are saved with the
extension of .htm or .html
Basic HTML Commands
Basic steps: using tags
HTML uses tags to communicate to the client (browser) how to display text
and images. Tags are contained in < > symbols. In most cases you start with
the beginning tag, put in the word or words that will be affected by this
tag, and at the end of the string of word(s), you place a closing tag.
For example, to create a title for a document you would do the following:
<title>My First HTML Document</title>
The closing tag normally contains a "/" before the directive to indicate the
termination of the action.
HTML tags are not case-sensitive, although URLs generally are. In most
cases (with the exception of preformatted text) HTML collapses many
spaces to one space and does not read blank lines. However, when you write
your text you should leave several blank lines between paragraphs to make
editing your HTML source document easier.
The HTML tag
Although not currently required by all clients, the <html> tag signals the point where text
should start being interpreted as HTML code. It's probably a good idea to include it in all
your documents now, so you don't have to go back to your files and add it later.
The <html> tag is usually placed on the first line of your document. At the end of your
document you should close with the </html> tag.
The head tag
Just like the header of a memo, the head of an HTML document contains special
information, like its title. The head of a document is demarcated by <head> and </head>
respectively.
For the purposes of this class, only the title tag, below, should be included in the document
head. A typical head section might look like
<html>
<head>
<title>My First HTML Document</title>
</head>
Types of HTML tags
Container tags
• Container tags have a
beginning and an end tag
,the end tag is similar to the
beginning tag but with a “/”
sign in front of it.
• Examples:-
• <b> and </b>
• <table>and</table> etc…
Empty tags
• Empty tags are standalone
tags and do not have an end
tag.
• Examples:-
• <br>
• <p>
Attributes
• Attributes provide additional information to
the tag. A tag becomes more meaningful with
the help of an attribute.
• Example- a simple <p> tag will create a new
paragraph but when we add the align
attribute to it, we can set the alignment of
the paragraph like <p align=“Left” will make
the paragraph aligned to the left of the
browser window.
Titles
A title tag allows you to specify a Document Title in your browser window. When
people make hotlists, this title is what they see in their list after they add your
document. The format is:
<title>My First HTML Document</title>
Remember, the title usually doesn't appear in the document itself, but in a title box
or bar at the top of the window.
The body tag
Like you might expect, the body tags <body> and </body> define the beginning and end
of the bulk of your document. All your text, images, and links will be in the body of
the document.
The body should start after the head. A typical page might begin like
<html>
<head>
<title>My First HTML Document</title>
</head>
<body>
Headers
There are up to six levels of headers that can be used in your document, h1 through h6.
Header 1 is the largest header and they get progressively smaller through header 6. Below are
each of the six headers and how they usually appear in relation to one another.
<h1>This is a header 1 tag</h1>
This is a header 1 tag
<h2>This is a header 2 tag</h2>
This is a header 2 tag
<h3>This is a header 3 tag</h3>
This is a header 3 tag
<h4>This is a header 4 tag</h4>
This is a header 4 tag
<h5>This is a header 5 tag</h5>
This is a header 5 tag
<h6>This is a header 6 tag</h6>
This is a header 6 tag
Paragraphs
In HTML, a paragraph tag <p> should be put at the end of every
paragraph of "normal" text (normal being defined as not already
having a tag associated with it).
<p> causes a line break and adds a trailing blank line
<br> causes a line break with no trailing blank line
As a convenience to yourself and others who might have to edit
your HTML documents, it's a very good idea to put two or three
blank lines between paragraphs to facilitate editing.
Boldface and Italics
You can add emphasis to text by using the boldface and italic tags or the
emphasis and strong tags.
There is an underline tag as well, but most people don't use it since text
that is linked is often underlined. The potential for confusion and the
archaic nature of underlining in general make it a poor marker for
emphasis.
When using these tags, you usually cannot (and probably should not) have
text that is both boldface and italics; the last tag encountered is usually
the tag that is displayed. For example, if you had a boldface tag followed
immediately by an italic tag, the tagged word would appear in italics.
Physical tags
This is a <b>boldface</b> tag.
This is how boldfacing appears.
This is an <i>italic</i> tag.
This is how italics appear.
Lists
There is an easy way in HTML to have numbered, unnumbered, and definition lists. In
addition, you can nest lists within lists.
When using lists, you have no control over the amount of space between the bullet or list
number, HTML automatically does this for you. Neither (as yet) do you have control over
what type of bullet will be used as each browser is different.
Unnumbered lists
Unnumbered lists are started with the <ul> tag, followed by the actual list items, which
are marked with the <li> tag. The list is ended with the ending tag </ul>.
For example, here is an unnumbered list with three items:
<ul>
<li> list item 1
<li> list item 2
<li> list item 3
</ul>
Here is how that list would display:
* list item 1
* list item 2
* list item 3
*
Numbered lists
Here is the same list using a numbered list format:
<ol>
<li> list item 1
<li> list item 2
<li> list item 3
</ol>
Here is how that list would display:
1. list item 1
2. list item 2
3. list item 3
3. Definition lists
Definition lists allow you to indent without necessarily having to use bullets.
<dl>
<dt> This is a term
<dd> This is a definition
<dd> And yet another definition
<dt> Another term
<dd> Another definition
</dl>
And here is how this would be displayed
This is a term
This is a definition.
And yet another definition.
Another term
Another definition
Horizontal Rule
To separate sections in a document, you can insert a horizontal rule tag <hr>. A
horizontal rule is displayed as follows:
Addresses
The <address> tag normally appears at the end of a document and is used most
frequently to mark information on contacting the author or institution that has
supplied this information. Anything contained within the address tag appears in italics.
The address tag is another example of a logical tag, and although it currently does
nothing but make text appear in italics, this could change as HTML code advances.
Here is an example of how an address might appear:
<address>
Introduction to HTML / Pat Androget / Pat_Androget@ncsu.edu
</address>
And it would appear as:
Introduction to HTML / Pat Androget / Pat_Androget@ncsu.edu
Comments
It is possible to include comments in a source HTML document
that do not appear when seen through a browser. This is most
useful for giving warnings and special instructions to future
editors of your document.
Comments take the form:
<!-----This comment will not appear in the browser----->
The comment can even break lines
<!----This comment won't be seen by
anyone either even though it's broken between lines--->
bgcolor=" "
Defines the default background colour of the screen used for the page.
Expressed as a named colour or as the hexadecimal code of a specific colour in
#RRGGBB format.
<BODY>
Examples:
bgcolor="white" bgcolor="#ffffff"
bgproperties=
Used in conjunction with the background parameter in the Internet Explorer
browser, this command attribute will allow a background image to float on a page like
a watermark.
fixed
<BODY>
Example:
bgproperties=fixed
border=
Defines the width in pixels of the border surrounding a bordered object.
Expressed as the number of pixels.
All commands using this parameter.
Example:
border=10
bordercolor=" "
Defines the color applied to the border of a bordered object.
Expressed as a named color or as the hexadecimal code of a specific color in
#RRGGBB format. The attribute is recognized only by the Internet Explorer browser.
<FRAME> <TABLE> <TD> <TH> <TR>
Examples:
bordercolor="blue" bordercolor="#0000ff"
Cell padding=
Defines the standoff or amount of white space between the edges of a table cell
and the table data.
Expressed as the number of pixels.
<TABLE>
Example:
cellpadding=10
Cell spacing=
Defines the amount of space or gutter to allow between table cells in a table.
Expressed as the number of pixels.
<TABLE>
Example:
cellspacing=5
face=" "
Defines a single font face or a list of font faces to be used. Only face names
exactly matching those installed on the user's microcomputer can be displayed.
The first matching font face presented in the font name list is accepted and
displayed.
Any font face name.
<BASEFONT> <FONT>
Example:
face="geneva, arial, helvetica, helv, futura"
frame value.
<COMMANDS>
vspace=
Defines the vertical standoff or amount of white space surrounding an object
or element.
Expressed in pixels.
All commands using this parameter.
Example:
vspace=10
width=
Defines the width of an object or element.
Expressed either in pixels or as a percent of the space available for
display.
All commands using this parameter.
Examples:
width=600width=75%
Thank you

More Related Content

What's hot

CSS Basics
CSS BasicsCSS Basics
CSS Basics
WordPress Memphis
 
Lecture 2 introduction to html
Lecture 2  introduction to htmlLecture 2  introduction to html
Lecture 2 introduction to html
palhaftab
 
Introduction to html
Introduction to htmlIntroduction to html
Introduction to htmlvikasgaur31
 
HTML (Web) basics for a beginner
HTML (Web) basics for a beginnerHTML (Web) basics for a beginner
HTML (Web) basics for a beginner
Jayapal Reddy Nimmakayala
 
Basic Html Notes
Basic Html NotesBasic Html Notes
Basic Html Notes
NextGenr
 
Html basics
Html basicsHtml basics
Html basics
mcatahir947
 
Basic HTML
Basic HTMLBasic HTML
Basic HTML
Sayan De
 
Basic Details of HTML and CSS.pdf
Basic Details of HTML and CSS.pdfBasic Details of HTML and CSS.pdf
Basic Details of HTML and CSS.pdf
Kalyani Government Engineering College
 
Introduction to html
Introduction to htmlIntroduction to html
Introduction to html
eShikshak
 
Basic Html Knowledge for students
Basic Html Knowledge for studentsBasic Html Knowledge for students
Basic Html Knowledge for students
vethics
 
Lesson 1: Introduction to HTML
Lesson 1: Introduction to HTMLLesson 1: Introduction to HTML
Lesson 1: Introduction to HTML
Olivia Moran
 
Introduction to html
Introduction to htmlIntroduction to html
Introduction to htmlvikasgaur31
 
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 Introduction
HTML IntroductionHTML Introduction
HTML Introductionc525600
 
Eye catching HTML BASICS tips: Learn easily
Eye catching HTML BASICS tips: Learn easilyEye catching HTML BASICS tips: Learn easily
Eye catching HTML BASICS tips: Learn easily
shabab shihan
 
HTML presentation for beginners
HTML presentation for beginnersHTML presentation for beginners
HTML presentation for beginners
jeroenvdmeer
 

What's hot (20)

CSS Basics
CSS BasicsCSS Basics
CSS Basics
 
Lecture 2 introduction to html
Lecture 2  introduction to htmlLecture 2  introduction to html
Lecture 2 introduction to html
 
Introduction to html
Introduction to htmlIntroduction to html
Introduction to html
 
Html
HtmlHtml
Html
 
Html
HtmlHtml
Html
 
HTML (Web) basics for a beginner
HTML (Web) basics for a beginnerHTML (Web) basics for a beginner
HTML (Web) basics for a beginner
 
Basic Html Notes
Basic Html NotesBasic Html Notes
Basic Html Notes
 
Html basics
Html basicsHtml basics
Html basics
 
Basic HTML
Basic HTMLBasic HTML
Basic HTML
 
Basic Details of HTML and CSS.pdf
Basic Details of HTML and CSS.pdfBasic Details of HTML and CSS.pdf
Basic Details of HTML and CSS.pdf
 
Introduction to html
Introduction to htmlIntroduction to html
Introduction to html
 
Basic Html Knowledge for students
Basic Html Knowledge for studentsBasic Html Knowledge for students
Basic Html Knowledge for students
 
Html Ppt
Html PptHtml Ppt
Html Ppt
 
Lesson 1: Introduction to HTML
Lesson 1: Introduction to HTMLLesson 1: Introduction to HTML
Lesson 1: Introduction to HTML
 
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 Introduction
HTML IntroductionHTML Introduction
HTML Introduction
 
Html
HtmlHtml
Html
 
Eye catching HTML BASICS tips: Learn easily
Eye catching HTML BASICS tips: Learn easilyEye catching HTML BASICS tips: Learn easily
Eye catching HTML BASICS tips: Learn easily
 
HTML presentation for beginners
HTML presentation for beginnersHTML presentation for beginners
HTML presentation for beginners
 

Similar to Html ppt computer

Htmlppt 100604051515-phpapp01
Htmlppt 100604051515-phpapp01Htmlppt 100604051515-phpapp01
Htmlppt 100604051515-phpapp01ramya116
 
web technology
web technologyweb technology
web technology
Ankit Dubey
 
Html basics
Html basicsHtml basics
Html basics
Vjay Vijju
 
HTML.pdf
HTML.pdfHTML.pdf
HTML.pdf
aneebkmct
 
Html presentation
Html presentationHtml presentation
Html presentation
Prashanthi Mamidisetty
 
Html basics
Html basicsHtml basics
Html basics
codegracer
 
static dynamic html tags
static dynamic html tagsstatic dynamic html tags
static dynamic html tags
teach4uin
 
static dynamic html tags
 static dynamic html tags static dynamic html tags
static dynamic html tags
teach4uin
 
Html tags
Html tagsHtml tags
Html tags
Noble Anshu
 
html
htmlhtml
HTML Basics.pdf
HTML Basics.pdfHTML Basics.pdf
HTML Basics.pdf
SofiaRehman2
 
Hyper Text Mark-up Language
Hyper Text Mark-up Language Hyper Text Mark-up Language
Hyper Text Mark-up Language
Fritz Earlin Therese Lapitaje Pondantes
 
HTML
HTMLHTML
Html basics 1
Html basics 1Html basics 1
Html basics 1
google
 
Html basics
Html basicsHtml basics
Html basics
Adityaroy110
 
Html basics
Html basicsHtml basics
Html basics
Vivek Khandelwal
 

Similar to Html ppt computer (20)

Htmlppt 100604051515-phpapp01
Htmlppt 100604051515-phpapp01Htmlppt 100604051515-phpapp01
Htmlppt 100604051515-phpapp01
 
web technology
web technologyweb technology
web technology
 
Html basics
Html basicsHtml basics
Html basics
 
HTML.pdf
HTML.pdfHTML.pdf
HTML.pdf
 
Html basics NOTE
Html basics NOTEHtml basics NOTE
Html basics NOTE
 
Html ppt
Html pptHtml ppt
Html ppt
 
Html Ppt
Html PptHtml Ppt
Html Ppt
 
Html presentation
Html presentationHtml presentation
Html presentation
 
Html basics
Html basicsHtml basics
Html basics
 
static dynamic html tags
static dynamic html tagsstatic dynamic html tags
static dynamic html tags
 
static dynamic html tags
 static dynamic html tags static dynamic html tags
static dynamic html tags
 
HTML.pdf
HTML.pdfHTML.pdf
HTML.pdf
 
Html tags
Html tagsHtml tags
Html tags
 
html
htmlhtml
html
 
HTML Basics.pdf
HTML Basics.pdfHTML Basics.pdf
HTML Basics.pdf
 
Hyper Text Mark-up Language
Hyper Text Mark-up Language Hyper Text Mark-up Language
Hyper Text Mark-up Language
 
HTML
HTMLHTML
HTML
 
Html basics 1
Html basics 1Html basics 1
Html basics 1
 
Html basics
Html basicsHtml basics
Html basics
 
Html basics
Html basicsHtml basics
Html basics
 

More from Anmol Pant

Periodic classification of elements
Periodic classification of elementsPeriodic classification of elements
Periodic classification of elements
Anmol Pant
 
दुख का अधिकार
दुख का अधिकारदुख का अधिकार
दुख का अधिकार
Anmol Pant
 
History of japan
History of japanHistory of japan
History of japan
Anmol Pant
 
History of cricket
History of cricketHistory of cricket
History of cricket
Anmol Pant
 
Quadrilaterals & their properties(anmol)
Quadrilaterals & their properties(anmol)Quadrilaterals & their properties(anmol)
Quadrilaterals & their properties(anmol)
Anmol Pant
 
Html 1
Html 1Html 1
Html 1
Anmol Pant
 
Direct and inverse variations
Direct and inverse variationsDirect and inverse variations
Direct and inverse variations
Anmol Pant
 
Combustion and flame
Combustion and flameCombustion and flame
Combustion and flame
Anmol Pant
 
Kriya hindi
Kriya hindiKriya hindi
Kriya hindi
Anmol Pant
 

More from Anmol Pant (9)

Periodic classification of elements
Periodic classification of elementsPeriodic classification of elements
Periodic classification of elements
 
दुख का अधिकार
दुख का अधिकारदुख का अधिकार
दुख का अधिकार
 
History of japan
History of japanHistory of japan
History of japan
 
History of cricket
History of cricketHistory of cricket
History of cricket
 
Quadrilaterals & their properties(anmol)
Quadrilaterals & their properties(anmol)Quadrilaterals & their properties(anmol)
Quadrilaterals & their properties(anmol)
 
Html 1
Html 1Html 1
Html 1
 
Direct and inverse variations
Direct and inverse variationsDirect and inverse variations
Direct and inverse variations
 
Combustion and flame
Combustion and flameCombustion and flame
Combustion and flame
 
Kriya hindi
Kriya hindiKriya hindi
Kriya hindi
 

Recently uploaded

Palestine last event orientationfvgnh .pptx
Palestine last event orientationfvgnh .pptxPalestine last event orientationfvgnh .pptx
Palestine last event orientationfvgnh .pptx
RaedMohamed3
 
The Art Pastor's Guide to Sabbath | Steve Thomason
The Art Pastor's Guide to Sabbath | Steve ThomasonThe Art Pastor's Guide to Sabbath | Steve Thomason
The Art Pastor's Guide to Sabbath | Steve Thomason
Steve Thomason
 
Introduction to Quality Improvement Essentials
Introduction to Quality Improvement EssentialsIntroduction to Quality Improvement Essentials
Introduction to Quality Improvement Essentials
Excellence Foundation for South Sudan
 
The geography of Taylor Swift - some ideas
The geography of Taylor Swift - some ideasThe geography of Taylor Swift - some ideas
The geography of Taylor Swift - some ideas
GeoBlogs
 
The French Revolution Class 9 Study Material pdf free download
The French Revolution Class 9 Study Material pdf free downloadThe French Revolution Class 9 Study Material pdf free download
The French Revolution Class 9 Study Material pdf free download
Vivekanand Anglo Vedic Academy
 
GIÁO ÁN DẠY THÊM (KẾ HOẠCH BÀI BUỔI 2) - TIẾNG ANH 8 GLOBAL SUCCESS (2 CỘT) N...
GIÁO ÁN DẠY THÊM (KẾ HOẠCH BÀI BUỔI 2) - TIẾNG ANH 8 GLOBAL SUCCESS (2 CỘT) N...GIÁO ÁN DẠY THÊM (KẾ HOẠCH BÀI BUỔI 2) - TIẾNG ANH 8 GLOBAL SUCCESS (2 CỘT) N...
GIÁO ÁN DẠY THÊM (KẾ HOẠCH BÀI BUỔI 2) - TIẾNG ANH 8 GLOBAL SUCCESS (2 CỘT) N...
Nguyen Thanh Tu Collection
 
2024.06.01 Introducing a competency framework for languag learning materials ...
2024.06.01 Introducing a competency framework for languag learning materials ...2024.06.01 Introducing a competency framework for languag learning materials ...
2024.06.01 Introducing a competency framework for languag learning materials ...
Sandy Millin
 
How to Split Bills in the Odoo 17 POS Module
How to Split Bills in the Odoo 17 POS ModuleHow to Split Bills in the Odoo 17 POS Module
How to Split Bills in the Odoo 17 POS Module
Celine George
 
Instructions for Submissions thorugh G- Classroom.pptx
Instructions for Submissions thorugh G- Classroom.pptxInstructions for Submissions thorugh G- Classroom.pptx
Instructions for Submissions thorugh G- Classroom.pptx
Jheel Barad
 
The approach at University of Liverpool.pptx
The approach at University of Liverpool.pptxThe approach at University of Liverpool.pptx
The approach at University of Liverpool.pptx
Jisc
 
How to Break the cycle of negative Thoughts
How to Break the cycle of negative ThoughtsHow to Break the cycle of negative Thoughts
How to Break the cycle of negative Thoughts
Col Mukteshwar Prasad
 
ESC Beyond Borders _From EU to You_ InfoPack general.pdf
ESC Beyond Borders _From EU to You_ InfoPack general.pdfESC Beyond Borders _From EU to You_ InfoPack general.pdf
ESC Beyond Borders _From EU to You_ InfoPack general.pdf
Fundacja Rozwoju Społeczeństwa Przedsiębiorczego
 
How libraries can support authors with open access requirements for UKRI fund...
How libraries can support authors with open access requirements for UKRI fund...How libraries can support authors with open access requirements for UKRI fund...
How libraries can support authors with open access requirements for UKRI fund...
Jisc
 
Model Attribute Check Company Auto Property
Model Attribute  Check Company Auto PropertyModel Attribute  Check Company Auto Property
Model Attribute Check Company Auto Property
Celine George
 
Phrasal Verbs.XXXXXXXXXXXXXXXXXXXXXXXXXX
Phrasal Verbs.XXXXXXXXXXXXXXXXXXXXXXXXXXPhrasal Verbs.XXXXXXXXXXXXXXXXXXXXXXXXXX
Phrasal Verbs.XXXXXXXXXXXXXXXXXXXXXXXXXX
MIRIAMSALINAS13
 
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
siemaillard
 
Students, digital devices and success - Andreas Schleicher - 27 May 2024..pptx
Students, digital devices and success - Andreas Schleicher - 27 May 2024..pptxStudents, digital devices and success - Andreas Schleicher - 27 May 2024..pptx
Students, digital devices and success - Andreas Schleicher - 27 May 2024..pptx
EduSkills OECD
 
Chapter 3 - Islamic Banking Products and Services.pptx
Chapter 3 - Islamic Banking Products and Services.pptxChapter 3 - Islamic Banking Products and Services.pptx
Chapter 3 - Islamic Banking Products and Services.pptx
Mohd Adib Abd Muin, Senior Lecturer at Universiti Utara Malaysia
 
Synthetic Fiber Construction in lab .pptx
Synthetic Fiber Construction in lab .pptxSynthetic Fiber Construction in lab .pptx
Synthetic Fiber Construction in lab .pptx
Pavel ( NSTU)
 
special B.ed 2nd year old paper_20240531.pdf
special B.ed 2nd year old paper_20240531.pdfspecial B.ed 2nd year old paper_20240531.pdf
special B.ed 2nd year old paper_20240531.pdf
Special education needs
 

Recently uploaded (20)

Palestine last event orientationfvgnh .pptx
Palestine last event orientationfvgnh .pptxPalestine last event orientationfvgnh .pptx
Palestine last event orientationfvgnh .pptx
 
The Art Pastor's Guide to Sabbath | Steve Thomason
The Art Pastor's Guide to Sabbath | Steve ThomasonThe Art Pastor's Guide to Sabbath | Steve Thomason
The Art Pastor's Guide to Sabbath | Steve Thomason
 
Introduction to Quality Improvement Essentials
Introduction to Quality Improvement EssentialsIntroduction to Quality Improvement Essentials
Introduction to Quality Improvement Essentials
 
The geography of Taylor Swift - some ideas
The geography of Taylor Swift - some ideasThe geography of Taylor Swift - some ideas
The geography of Taylor Swift - some ideas
 
The French Revolution Class 9 Study Material pdf free download
The French Revolution Class 9 Study Material pdf free downloadThe French Revolution Class 9 Study Material pdf free download
The French Revolution Class 9 Study Material pdf free download
 
GIÁO ÁN DẠY THÊM (KẾ HOẠCH BÀI BUỔI 2) - TIẾNG ANH 8 GLOBAL SUCCESS (2 CỘT) N...
GIÁO ÁN DẠY THÊM (KẾ HOẠCH BÀI BUỔI 2) - TIẾNG ANH 8 GLOBAL SUCCESS (2 CỘT) N...GIÁO ÁN DẠY THÊM (KẾ HOẠCH BÀI BUỔI 2) - TIẾNG ANH 8 GLOBAL SUCCESS (2 CỘT) N...
GIÁO ÁN DẠY THÊM (KẾ HOẠCH BÀI BUỔI 2) - TIẾNG ANH 8 GLOBAL SUCCESS (2 CỘT) N...
 
2024.06.01 Introducing a competency framework for languag learning materials ...
2024.06.01 Introducing a competency framework for languag learning materials ...2024.06.01 Introducing a competency framework for languag learning materials ...
2024.06.01 Introducing a competency framework for languag learning materials ...
 
How to Split Bills in the Odoo 17 POS Module
How to Split Bills in the Odoo 17 POS ModuleHow to Split Bills in the Odoo 17 POS Module
How to Split Bills in the Odoo 17 POS Module
 
Instructions for Submissions thorugh G- Classroom.pptx
Instructions for Submissions thorugh G- Classroom.pptxInstructions for Submissions thorugh G- Classroom.pptx
Instructions for Submissions thorugh G- Classroom.pptx
 
The approach at University of Liverpool.pptx
The approach at University of Liverpool.pptxThe approach at University of Liverpool.pptx
The approach at University of Liverpool.pptx
 
How to Break the cycle of negative Thoughts
How to Break the cycle of negative ThoughtsHow to Break the cycle of negative Thoughts
How to Break the cycle of negative Thoughts
 
ESC Beyond Borders _From EU to You_ InfoPack general.pdf
ESC Beyond Borders _From EU to You_ InfoPack general.pdfESC Beyond Borders _From EU to You_ InfoPack general.pdf
ESC Beyond Borders _From EU to You_ InfoPack general.pdf
 
How libraries can support authors with open access requirements for UKRI fund...
How libraries can support authors with open access requirements for UKRI fund...How libraries can support authors with open access requirements for UKRI fund...
How libraries can support authors with open access requirements for UKRI fund...
 
Model Attribute Check Company Auto Property
Model Attribute  Check Company Auto PropertyModel Attribute  Check Company Auto Property
Model Attribute Check Company Auto Property
 
Phrasal Verbs.XXXXXXXXXXXXXXXXXXXXXXXXXX
Phrasal Verbs.XXXXXXXXXXXXXXXXXXXXXXXXXXPhrasal Verbs.XXXXXXXXXXXXXXXXXXXXXXXXXX
Phrasal Verbs.XXXXXXXXXXXXXXXXXXXXXXXXXX
 
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
 
Students, digital devices and success - Andreas Schleicher - 27 May 2024..pptx
Students, digital devices and success - Andreas Schleicher - 27 May 2024..pptxStudents, digital devices and success - Andreas Schleicher - 27 May 2024..pptx
Students, digital devices and success - Andreas Schleicher - 27 May 2024..pptx
 
Chapter 3 - Islamic Banking Products and Services.pptx
Chapter 3 - Islamic Banking Products and Services.pptxChapter 3 - Islamic Banking Products and Services.pptx
Chapter 3 - Islamic Banking Products and Services.pptx
 
Synthetic Fiber Construction in lab .pptx
Synthetic Fiber Construction in lab .pptxSynthetic Fiber Construction in lab .pptx
Synthetic Fiber Construction in lab .pptx
 
special B.ed 2nd year old paper_20240531.pdf
special B.ed 2nd year old paper_20240531.pdfspecial B.ed 2nd year old paper_20240531.pdf
special B.ed 2nd year old paper_20240531.pdf
 

Html ppt computer

  • 1. Introduction toIntroduction to HTMLHTML Made by Anmol Pant, Class 8C, Roll NO.-31
  • 2. HTML HTML, which stands for HyperText Markup Language, and it is used to create hypertext documents for the world wide web. It provides a means to create structured documents by denoting structural semantics for text such as headings, paragraphs, lists, links, quotes, and other items. It allows images and objects to be embedded and can be used to create interactive forms. It is written in the form of HTML elements consisting of "tags" surrounded by angle brackets within the web page content. A tag is a markup which indicates how the contents of the webpage should look like. All the HTML documents are created in a Word processing software such as Notepad and are saved with the extension of .htm or .html
  • 3. Basic HTML Commands Basic steps: using tags HTML uses tags to communicate to the client (browser) how to display text and images. Tags are contained in < > symbols. In most cases you start with the beginning tag, put in the word or words that will be affected by this tag, and at the end of the string of word(s), you place a closing tag. For example, to create a title for a document you would do the following: <title>My First HTML Document</title> The closing tag normally contains a "/" before the directive to indicate the termination of the action. HTML tags are not case-sensitive, although URLs generally are. In most cases (with the exception of preformatted text) HTML collapses many spaces to one space and does not read blank lines. However, when you write your text you should leave several blank lines between paragraphs to make editing your HTML source document easier.
  • 4. The HTML tag Although not currently required by all clients, the <html> tag signals the point where text should start being interpreted as HTML code. It's probably a good idea to include it in all your documents now, so you don't have to go back to your files and add it later. The <html> tag is usually placed on the first line of your document. At the end of your document you should close with the </html> tag. The head tag Just like the header of a memo, the head of an HTML document contains special information, like its title. The head of a document is demarcated by <head> and </head> respectively. For the purposes of this class, only the title tag, below, should be included in the document head. A typical head section might look like <html> <head> <title>My First HTML Document</title> </head>
  • 5. Types of HTML tags Container tags • Container tags have a beginning and an end tag ,the end tag is similar to the beginning tag but with a “/” sign in front of it. • Examples:- • <b> and </b> • <table>and</table> etc… Empty tags • Empty tags are standalone tags and do not have an end tag. • Examples:- • <br> • <p>
  • 6. Attributes • Attributes provide additional information to the tag. A tag becomes more meaningful with the help of an attribute. • Example- a simple <p> tag will create a new paragraph but when we add the align attribute to it, we can set the alignment of the paragraph like <p align=“Left” will make the paragraph aligned to the left of the browser window.
  • 7. Titles A title tag allows you to specify a Document Title in your browser window. When people make hotlists, this title is what they see in their list after they add your document. The format is: <title>My First HTML Document</title> Remember, the title usually doesn't appear in the document itself, but in a title box or bar at the top of the window. The body tag Like you might expect, the body tags <body> and </body> define the beginning and end of the bulk of your document. All your text, images, and links will be in the body of the document. The body should start after the head. A typical page might begin like <html> <head> <title>My First HTML Document</title> </head> <body>
  • 8. Headers There are up to six levels of headers that can be used in your document, h1 through h6. Header 1 is the largest header and they get progressively smaller through header 6. Below are each of the six headers and how they usually appear in relation to one another. <h1>This is a header 1 tag</h1> This is a header 1 tag <h2>This is a header 2 tag</h2> This is a header 2 tag <h3>This is a header 3 tag</h3> This is a header 3 tag <h4>This is a header 4 tag</h4> This is a header 4 tag <h5>This is a header 5 tag</h5> This is a header 5 tag <h6>This is a header 6 tag</h6> This is a header 6 tag
  • 9. Paragraphs In HTML, a paragraph tag <p> should be put at the end of every paragraph of "normal" text (normal being defined as not already having a tag associated with it). <p> causes a line break and adds a trailing blank line <br> causes a line break with no trailing blank line As a convenience to yourself and others who might have to edit your HTML documents, it's a very good idea to put two or three blank lines between paragraphs to facilitate editing.
  • 10. Boldface and Italics You can add emphasis to text by using the boldface and italic tags or the emphasis and strong tags. There is an underline tag as well, but most people don't use it since text that is linked is often underlined. The potential for confusion and the archaic nature of underlining in general make it a poor marker for emphasis. When using these tags, you usually cannot (and probably should not) have text that is both boldface and italics; the last tag encountered is usually the tag that is displayed. For example, if you had a boldface tag followed immediately by an italic tag, the tagged word would appear in italics. Physical tags This is a <b>boldface</b> tag. This is how boldfacing appears. This is an <i>italic</i> tag. This is how italics appear.
  • 11. Lists There is an easy way in HTML to have numbered, unnumbered, and definition lists. In addition, you can nest lists within lists. When using lists, you have no control over the amount of space between the bullet or list number, HTML automatically does this for you. Neither (as yet) do you have control over what type of bullet will be used as each browser is different. Unnumbered lists Unnumbered lists are started with the <ul> tag, followed by the actual list items, which are marked with the <li> tag. The list is ended with the ending tag </ul>. For example, here is an unnumbered list with three items: <ul> <li> list item 1 <li> list item 2 <li> list item 3 </ul> Here is how that list would display: * list item 1 * list item 2 * list item 3
  • 12. * Numbered lists Here is the same list using a numbered list format: <ol> <li> list item 1 <li> list item 2 <li> list item 3 </ol> Here is how that list would display: 1. list item 1 2. list item 2 3. list item 3
  • 13. 3. Definition lists Definition lists allow you to indent without necessarily having to use bullets. <dl> <dt> This is a term <dd> This is a definition <dd> And yet another definition <dt> Another term <dd> Another definition </dl> And here is how this would be displayed This is a term This is a definition. And yet another definition. Another term Another definition
  • 14. Horizontal Rule To separate sections in a document, you can insert a horizontal rule tag <hr>. A horizontal rule is displayed as follows: Addresses The <address> tag normally appears at the end of a document and is used most frequently to mark information on contacting the author or institution that has supplied this information. Anything contained within the address tag appears in italics. The address tag is another example of a logical tag, and although it currently does nothing but make text appear in italics, this could change as HTML code advances. Here is an example of how an address might appear: <address> Introduction to HTML / Pat Androget / Pat_Androget@ncsu.edu </address> And it would appear as: Introduction to HTML / Pat Androget / Pat_Androget@ncsu.edu
  • 15. Comments It is possible to include comments in a source HTML document that do not appear when seen through a browser. This is most useful for giving warnings and special instructions to future editors of your document. Comments take the form: <!-----This comment will not appear in the browser-----> The comment can even break lines <!----This comment won't be seen by anyone either even though it's broken between lines--->
  • 16. bgcolor=" " Defines the default background colour of the screen used for the page. Expressed as a named colour or as the hexadecimal code of a specific colour in #RRGGBB format. <BODY> Examples: bgcolor="white" bgcolor="#ffffff" bgproperties= Used in conjunction with the background parameter in the Internet Explorer browser, this command attribute will allow a background image to float on a page like a watermark. fixed <BODY> Example: bgproperties=fixed
  • 17. border= Defines the width in pixels of the border surrounding a bordered object. Expressed as the number of pixels. All commands using this parameter. Example: border=10 bordercolor=" " Defines the color applied to the border of a bordered object. Expressed as a named color or as the hexadecimal code of a specific color in #RRGGBB format. The attribute is recognized only by the Internet Explorer browser. <FRAME> <TABLE> <TD> <TH> <TR> Examples: bordercolor="blue" bordercolor="#0000ff"
  • 18. Cell padding= Defines the standoff or amount of white space between the edges of a table cell and the table data. Expressed as the number of pixels. <TABLE> Example: cellpadding=10 Cell spacing= Defines the amount of space or gutter to allow between table cells in a table. Expressed as the number of pixels. <TABLE> Example: cellspacing=5
  • 19. face=" " Defines a single font face or a list of font faces to be used. Only face names exactly matching those installed on the user's microcomputer can be displayed. The first matching font face presented in the font name list is accepted and displayed. Any font face name. <BASEFONT> <FONT> Example: face="geneva, arial, helvetica, helv, futura" frame value. <COMMANDS>
  • 20. vspace= Defines the vertical standoff or amount of white space surrounding an object or element. Expressed in pixels. All commands using this parameter. Example: vspace=10 width= Defines the width of an object or element. Expressed either in pixels or as a percent of the space available for display. All commands using this parameter. Examples: width=600width=75%