SlideShare uma empresa Scribd logo
1 de 29
HTML 
Definition and Structure of Html 
Basic Html Tags 
Formatting Tags 
Body and Font Tag 
Using Marquee 
Hyperlinks
HTML File 
Stands for Hyper Text Markup Language 
An HTML file is a text file containing small 
markup tags 
A markup tags tell the web browser how to 
display the page 
An HTML file must have an htm or html file 
extension 
An HTML file can be created using a simple 
text editor
HTML 
A collection of platform independent 
styles(indicated by markup tags) that define 
the various components of a world wide web. 
It is also the language used to prepare web 
hypertext documents. 
It is a structured language that allows certain 
rules to enforce an overall logical structure 
upon the document.
HTML 
HTML documents are plain-text files known as 
ASCII, that can be created by using a text 
editor. An example is a WordPad or Notepad. 
Things you need to create a HTML File: 
Text Editor 
Web browser 
Internet Connection
Creating Html document 
Click the Window button 
Go to Programs > Accessories 
Click Notepad 
Viewing Html document 
Open your browser 
From the file menu click open 
Click on browse 
Look for the drive and the name of 
the html document 
Click OK
HTML 
HTML documents are plain-text files known as 
ASCII, that can be created by using a text 
editor. An example is a WordPad or Notepad. 
Things you need to create a HTML File: 
Text Editor 
Web browser 
Internet Connection
Structure of HTML 
Elements – fundamental components of the 
structure of a text document. Examples of 
elements are heads, tables, paragraphs and 
lists. 
Tags - refers to the various elements in an 
HTML document. 
HTML Tags consist of a left angle bracket 
<a tag name and a right angle>. Tags are 
usually paired <html> </html>. 
Tags without pairs are called empty tags.
Structure of HTML 
Element Attributes – Additional information 
included inside the start tag. 
Examples are text alignments (right, left).
Basic HTML Tags 
<html> - tag that creates the html document 
closed with </html> tag. 
<head> - tag that set off info that is not 
displayed on the web page itself, closed with 
the </head> tag. 
<title> - tag within the <head> tag that created 
the name of the document in the title bar.
Basic HTML Tags 
<body> - tag that set off the visible portion of 
the document, contains all readable text in 
your web page. 
<!comments> - tag that allows the author to 
write comments which will not be displayed on 
the web page.
A sample example to 
use basic HTML tags 
<html> <! Start of the document> 
<head> 
<title> 
My Home Page 
</title> 
</head> 
<body> 
text 
text 
text 
</body> 
</html>
Saving your HTML File 
Click File > Save As 
Type a Filename for your HTML 
document and type the extension 
name .html .
Formatting Tags 
<b> - gives bold format to text with closed </b> tag 
<i> - gives italic format to text with closed </i> tag 
<u> - gives underlined format to text with closed </u> tag 
<tt> - gives teletype format to text with closed </tt> tag 
<sub> - gives subscript effect with closed </sub> tag 
<sup> - gives superscript effect with closed </sup> tag 
<pre> - a tag that created a preformatted text
Paragraph Tags 
<p> - creates a new paragraph with closed </p> tag 
Attributed of P tag 
<p align= “position” > –aligns the paragraph 
according to the position you set. 
- left, center, right. 
<br> - to break a line 
<blockquote> - indents your paragraph from both sides
Paragraph Tag and Line Break 
<html> 
<head> 
<title> Paragraph Tag and Line Break</title> 
</head> 
<body> 
<p> 
This Paragraph Contains a lot of lines of Code, But browser ignores it. 
</p> 
<p> 
This Paragraph Contains a lot of lines of Code, But browser ignores it. 
</p> 
<p> 
To Break<br>lines<br>in a<br>paragraph, <br>use the br tag 
</p> 
</body> 
</html>
Paragraph Tag and Line Break
Creating a Centered Align heading 
<html> 
<head> 
<title> Paragraph Tag and Line Break</title> 
</head> 
<body> 
<h1 align=“center”> This is the Heading</h1> 
<p> 
The Heading above is aligned Centered on the page. The Heading above is 
aligned Centered on the page. The Heading above is aligned Centered on the page. 
</p> 
</body> 
</html>
Creating a Centered Align heading
Using Heading in Html Document 
Headings are use to differentiate certain 
sections of a html document from other 
sections. As their name implies , they create 
an impression of using headlines in your html 
document.
Using Heading in Html Document 
<html> 
<head> 
<title> Different sizes of Heading </title> 
</head> 
<body> 
<h1> This is an example of Heading 1 </h1> 
<h2> This is an example of Heading 2 </h2> 
<h3> This is an example of Heading 3 </h3> 
<h4> This is an example of Heading 4 </h4> 
<h5> This is an example of Heading 5 </h5> 
<h6> This is an example of Heading 6 </h6> 
</body> 
</html>
Using Heading in Html Document
Working with Body 
and Font Attributes 
Using the body tag enables the user to 
manipulate the background colors and text for 
a HTML documents and using the font you can 
override the text color in body tag.
Working with Body 
and Font Attributes 
<body> specifies that your in the body part of the document 
<body text = “blue” > - color of normal text within document 
background = “url”> - indicates the location of the file of an image to 
tile across the document background. 
bgcolor =“blue”> indicates the color of the document background 
<font> specifies the appearance of text of the body 
<font color = “blue”> - indicates the color of the browser 
uses to display text. 
face = “arial”> - specifies the font face to be use in the document 
size = “10”> - specifies the size of text affected by the font tag
Working with Hyperlinks 
 A hyperlink is an underlined text or image that lets 
you jump from one webpage to another. 
Types of Text link in HTML: 
1. Relative links – creates the link to the other page of 
the site. 
2. Absolute links – uses URL to create a link to the 
address of that particular web page.
Working with Absolute link 
<html> 
<head> 
<title> My Favorite links </title> 
</head> 
<body> 
<h1> My Favorite Links </h1> 
<a href = “http://www.yahoo.com”> www.yahoo.com </a> <br> 
<a href = “http://www.google.com”> www.google.com </a> <br> 
<a href = “http://www.msn.com”> www.msn.com </a> <br> 
<a href = “http://www.wikipedia.com”> www.wikipedia.com </a> <br> 
</body> 
</html>
Working with Relative link 
<html> 
<head> 
<title> My Favorite links </title> 
</head> 
<body> 
<h1> My Local Links </h1> 
<a href = “a:index.html”> Click to go to Homepage </a> <br> 
<a href = “a:links.html”> Click to go to favorite link page </a> <br> 
<a href = “a:about.html”> Click to go to about me page</a> <br> 
</body> 
</html>
Using Marquee Tag 
Animation is very easy in creating HTML 
documents using the marquee tag where 
in you convert a simple text into a 
moving set of characters from left to 
right or even from top to bottom.
Attributes of a Marquee 
<marquee align =“left” > 
behavior =“slide” > - indicate type of scrolling 
slide , scroll, alternate 
bgcolor = “blue” > - indicate background color 
of marquee 
direction = “left” > - indicates the direction of 
marquee text scrolls 
(right , top, bottom) 
loop = “10” > - controls the appearance of 
marquee text
Sample of a Marquee 
<html> 
<head> 
<title> Sample Marquee </title> 
</head> 
<body> 
<marquee behavior = “scroll” direction=“left” 
bgcolor=“red” > 
This is an Example of Marquee using certain attributes 
</marquee> 
</body> 
</html>

Mais conteúdo relacionado

Mais procurados

HTML Introduction
HTML IntroductionHTML Introduction
HTML Introduction
c525600
 

Mais procurados (20)

Html notes
Html notesHtml notes
Html notes
 
Html
HtmlHtml
Html
 
Html
HtmlHtml
Html
 
Html coding
Html codingHtml coding
Html coding
 
Basic HTML
Basic HTMLBasic HTML
Basic HTML
 
Html
HtmlHtml
Html
 
Html basic
Html basicHtml basic
Html basic
 
Html basics
Html basicsHtml basics
Html basics
 
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
 
Basic html tags
Basic html tagsBasic html tags
Basic html tags
 
Html ppt
Html pptHtml ppt
Html ppt
 
Tags in html
Tags in htmlTags in html
Tags in html
 
Basic Html Notes
Basic Html NotesBasic Html Notes
Basic Html Notes
 
Introduction to HTML and CSS
Introduction to HTML and CSSIntroduction to HTML and CSS
Introduction to HTML and CSS
 
Html n CSS
Html n CSSHtml n CSS
Html n CSS
 
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
 
HTML
HTMLHTML
HTML
 
CSS
CSSCSS
CSS
 
HTML Introduction
HTML IntroductionHTML Introduction
HTML Introduction
 
HTML Introduction
HTML IntroductionHTML Introduction
HTML Introduction
 

Destaque

Marcas más Populares México Febrero2012
Marcas más Populares México   Febrero2012Marcas más Populares México   Febrero2012
Marcas más Populares México Febrero2012
IAB México
 
Tabela inss 2011
Tabela inss 2011Tabela inss 2011
Tabela inss 2011
Joaoce2011
 

Destaque (20)

Introduction to HTML
Introduction to HTMLIntroduction to HTML
Introduction to HTML
 
HTML Basics by software development company india
HTML Basics by software development company indiaHTML Basics by software development company india
HTML Basics by software development company india
 
Html 5 New Features
Html 5 New FeaturesHtml 5 New Features
Html 5 New Features
 
Перспективы продления жизни - Последние научные достижения (И. Артюхов)
Перспективы продления жизни - Последние научные достижения (И. Артюхов)Перспективы продления жизни - Последние научные достижения (И. Артюхов)
Перспективы продления жизни - Последние научные достижения (И. Артюхов)
 
Monitorizare mai 2013
Monitorizare mai 2013Monitorizare mai 2013
Monitorizare mai 2013
 
Puddles
PuddlesPuddles
Puddles
 
KLEENEZE Uk Text Ewb 24
KLEENEZE Uk Text Ewb 24KLEENEZE Uk Text Ewb 24
KLEENEZE Uk Text Ewb 24
 
Marcas más Populares México Febrero2012
Marcas más Populares México   Febrero2012Marcas más Populares México   Febrero2012
Marcas más Populares México Febrero2012
 
Труд медицинских работников в годы ВОВ
Труд медицинских работников в годы ВОВТруд медицинских работников в годы ВОВ
Труд медицинских работников в годы ВОВ
 
Kinas moderna historia
Kinas moderna historiaKinas moderna historia
Kinas moderna historia
 
Kleeneze 2011 ewb 10
Kleeneze 2011 ewb 10Kleeneze 2011 ewb 10
Kleeneze 2011 ewb 10
 
EGYPT-I-OGJ
EGYPT-I-OGJEGYPT-I-OGJ
EGYPT-I-OGJ
 
Tabela inss 2011
Tabela inss 2011Tabela inss 2011
Tabela inss 2011
 
Литературные премии 2014 года
Литературные премии 2014 годаЛитературные премии 2014 года
Литературные премии 2014 года
 
15 Top Web Design Trends for 2014
15 Top Web Design Trends for 201415 Top Web Design Trends for 2014
15 Top Web Design Trends for 2014
 
Ντομάτα / Καλλιέργεια,πότισμα,εχθροί και ασθένειες,αποστάσεις σποράς,τι έδαφο...
Ντομάτα / Καλλιέργεια,πότισμα,εχθροί και ασθένειες,αποστάσεις σποράς,τι έδαφο...Ντομάτα / Καλλιέργεια,πότισμα,εχθροί και ασθένειες,αποστάσεις σποράς,τι έδαφο...
Ντομάτα / Καλλιέργεια,πότισμα,εχθροί και ασθένειες,αποστάσεις σποράς,τι έδαφο...
 
Healthy Hilltowns
Healthy Hilltowns Healthy Hilltowns
Healthy Hilltowns
 
Details of website
Details of websiteDetails of website
Details of website
 
Ch07 5
Ch07 5Ch07 5
Ch07 5
 
Pt 175 rc-web
Pt 175 rc-webPt 175 rc-web
Pt 175 rc-web
 

Semelhante a Html1

Chapter 6 html
Chapter 6 htmlChapter 6 html
Chapter 6 html
home
 

Semelhante a Html1 (20)

Html ppt by Fathima faculty Hasanath college for women bangalore
Html ppt by Fathima faculty Hasanath college for women bangaloreHtml ppt by Fathima faculty Hasanath college for women bangalore
Html ppt by Fathima faculty Hasanath college for women bangalore
 
SDP_HTML.pptx
SDP_HTML.pptxSDP_HTML.pptx
SDP_HTML.pptx
 
Html basics-auro skills
Html basics-auro skillsHtml basics-auro skills
Html basics-auro skills
 
Html Workshop
Html WorkshopHtml Workshop
Html Workshop
 
HTML/HTML5
HTML/HTML5HTML/HTML5
HTML/HTML5
 
Html2
Html2Html2
Html2
 
Html
HtmlHtml
Html
 
Html introduction
Html introductionHtml introduction
Html introduction
 
Intr to-html-xhtml-1233508169541646-3
Intr to-html-xhtml-1233508169541646-3Intr to-html-xhtml-1233508169541646-3
Intr to-html-xhtml-1233508169541646-3
 
Best HTML Training &Coaching in Ambala
Best HTML Training &Coaching in AmbalaBest HTML Training &Coaching in Ambala
Best HTML Training &Coaching in Ambala
 
Learn HTML Easier
Learn HTML EasierLearn HTML Easier
Learn HTML Easier
 
IT Unit III.pptx
IT Unit III.pptxIT Unit III.pptx
IT Unit III.pptx
 
Hyper text markup Language
Hyper text markup LanguageHyper text markup Language
Hyper text markup Language
 
If you know nothing about HTML, this is where you can start !!
If you know nothing about HTML, this is where you can start !!If you know nothing about HTML, this is where you can start !!
If you know nothing about HTML, this is where you can start !!
 
Html basics NOTE
Html basics NOTEHtml basics NOTE
Html basics NOTE
 
html.pdf
html.pdfhtml.pdf
html.pdf
 
Chapter 6 html
Chapter 6 htmlChapter 6 html
Chapter 6 html
 
Html tutorials
Html tutorialsHtml tutorials
Html tutorials
 
Html tutorials
Html tutorialsHtml tutorials
Html tutorials
 
Web Design-III IT.ppt
Web Design-III IT.pptWeb Design-III IT.ppt
Web Design-III IT.ppt
 

Mais de learnt (20)

Information System within the Organization
Information System within the OrganizationInformation System within the Organization
Information System within the Organization
 
Quiz2FinalPeriod
Quiz2FinalPeriodQuiz2FinalPeriod
Quiz2FinalPeriod
 
Database Design
Database DesignDatabase Design
Database Design
 
Quiz1FinalsIS
Quiz1FinalsISQuiz1FinalsIS
Quiz1FinalsIS
 
EBuss
EBussEBuss
EBuss
 
Gantt- Pert Chart Activities
Gantt- Pert Chart ActivitiesGantt- Pert Chart Activities
Gantt- Pert Chart Activities
 
Quiz1FinalPeriod
Quiz1FinalPeriodQuiz1FinalPeriod
Quiz1FinalPeriod
 
PertGanttchart
PertGanttchartPertGanttchart
PertGanttchart
 
Feasible
FeasibleFeasible
Feasible
 
Quiz1Finals
Quiz1FinalsQuiz1Finals
Quiz1Finals
 
KindsofSites
KindsofSitesKindsofSites
KindsofSites
 
InformationSecurity
InformationSecurityInformationSecurity
InformationSecurity
 
Quiz3midterm
Quiz3midtermQuiz3midterm
Quiz3midterm
 
modelingtools
modelingtoolsmodelingtools
modelingtools
 
Decision exercises
Decision exercisesDecision exercises
Decision exercises
 
Event handling in netbeans ide
Event handling in netbeans ideEvent handling in netbeans ide
Event handling in netbeans ide
 
Kwiz2 midterm
Kwiz2 midtermKwiz2 midterm
Kwiz2 midterm
 
Modelingprogramstructure
ModelingprogramstructureModelingprogramstructure
Modelingprogramstructure
 
Quiz2 midterm
Quiz2 midtermQuiz2 midterm
Quiz2 midterm
 
Web browsers
Web browsersWeb browsers
Web browsers
 

Último

The basics of sentences session 3pptx.pptx
The basics of sentences session 3pptx.pptxThe basics of sentences session 3pptx.pptx
The basics of sentences session 3pptx.pptx
heathfieldcps1
 
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
KarakKing
 

Último (20)

Interdisciplinary_Insights_Data_Collection_Methods.pptx
Interdisciplinary_Insights_Data_Collection_Methods.pptxInterdisciplinary_Insights_Data_Collection_Methods.pptx
Interdisciplinary_Insights_Data_Collection_Methods.pptx
 
Kodo Millet PPT made by Ghanshyam bairwa college of Agriculture kumher bhara...
Kodo Millet  PPT made by Ghanshyam bairwa college of Agriculture kumher bhara...Kodo Millet  PPT made by Ghanshyam bairwa college of Agriculture kumher bhara...
Kodo Millet PPT made by Ghanshyam bairwa college of Agriculture kumher bhara...
 
Key note speaker Neum_Admir Softic_ENG.pdf
Key note speaker Neum_Admir Softic_ENG.pdfKey note speaker Neum_Admir Softic_ENG.pdf
Key note speaker Neum_Admir Softic_ENG.pdf
 
Graduate Outcomes Presentation Slides - English
Graduate Outcomes Presentation Slides - EnglishGraduate Outcomes Presentation Slides - English
Graduate Outcomes Presentation Slides - English
 
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.
 
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...
 
The basics of sentences session 3pptx.pptx
The basics of sentences session 3pptx.pptxThe basics of sentences session 3pptx.pptx
The basics of sentences session 3pptx.pptx
 
Exploring_the_Narrative_Style_of_Amitav_Ghoshs_Gun_Island.pptx
Exploring_the_Narrative_Style_of_Amitav_Ghoshs_Gun_Island.pptxExploring_the_Narrative_Style_of_Amitav_Ghoshs_Gun_Island.pptx
Exploring_the_Narrative_Style_of_Amitav_Ghoshs_Gun_Island.pptx
 
Sociology 101 Demonstration of Learning Exhibit
Sociology 101 Demonstration of Learning ExhibitSociology 101 Demonstration of Learning Exhibit
Sociology 101 Demonstration of Learning Exhibit
 
How to Add New Custom Addons Path in Odoo 17
How to Add New Custom Addons Path in Odoo 17How to Add New Custom Addons Path in Odoo 17
How to Add New Custom Addons Path in Odoo 17
 
REMIFENTANIL: An Ultra short acting opioid.pptx
REMIFENTANIL: An Ultra short acting opioid.pptxREMIFENTANIL: An Ultra short acting opioid.pptx
REMIFENTANIL: An Ultra short acting opioid.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
 
How to Manage Global Discount in Odoo 17 POS
How to Manage Global Discount in Odoo 17 POSHow to Manage Global Discount in Odoo 17 POS
How to Manage Global Discount in Odoo 17 POS
 
How to Create and Manage Wizard in Odoo 17
How to Create and Manage Wizard in Odoo 17How to Create and Manage Wizard in Odoo 17
How to Create and Manage Wizard in Odoo 17
 
Jamworks pilot and AI at Jisc (20/03/2024)
Jamworks pilot and AI at Jisc (20/03/2024)Jamworks pilot and AI at Jisc (20/03/2024)
Jamworks pilot and AI at Jisc (20/03/2024)
 
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_...
 
FSB Advising Checklist - Orientation 2024
FSB Advising Checklist - Orientation 2024FSB Advising Checklist - Orientation 2024
FSB Advising Checklist - Orientation 2024
 
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
 
Sensory_Experience_and_Emotional_Resonance_in_Gabriel_Okaras_The_Piano_and_Th...
Sensory_Experience_and_Emotional_Resonance_in_Gabriel_Okaras_The_Piano_and_Th...Sensory_Experience_and_Emotional_Resonance_in_Gabriel_Okaras_The_Piano_and_Th...
Sensory_Experience_and_Emotional_Resonance_in_Gabriel_Okaras_The_Piano_and_Th...
 
Application orientated numerical on hev.ppt
Application orientated numerical on hev.pptApplication orientated numerical on hev.ppt
Application orientated numerical on hev.ppt
 

Html1

  • 1. HTML Definition and Structure of Html Basic Html Tags Formatting Tags Body and Font Tag Using Marquee Hyperlinks
  • 2. HTML File Stands for Hyper Text Markup Language An HTML file is a text file containing small markup tags A markup tags tell the web browser how to display the page An HTML file must have an htm or html file extension An HTML file can be created using a simple text editor
  • 3. HTML A collection of platform independent styles(indicated by markup tags) that define the various components of a world wide web. It is also the language used to prepare web hypertext documents. It is a structured language that allows certain rules to enforce an overall logical structure upon the document.
  • 4. HTML HTML documents are plain-text files known as ASCII, that can be created by using a text editor. An example is a WordPad or Notepad. Things you need to create a HTML File: Text Editor Web browser Internet Connection
  • 5. Creating Html document Click the Window button Go to Programs > Accessories Click Notepad Viewing Html document Open your browser From the file menu click open Click on browse Look for the drive and the name of the html document Click OK
  • 6. HTML HTML documents are plain-text files known as ASCII, that can be created by using a text editor. An example is a WordPad or Notepad. Things you need to create a HTML File: Text Editor Web browser Internet Connection
  • 7. Structure of HTML Elements – fundamental components of the structure of a text document. Examples of elements are heads, tables, paragraphs and lists. Tags - refers to the various elements in an HTML document. HTML Tags consist of a left angle bracket <a tag name and a right angle>. Tags are usually paired <html> </html>. Tags without pairs are called empty tags.
  • 8. Structure of HTML Element Attributes – Additional information included inside the start tag. Examples are text alignments (right, left).
  • 9. Basic HTML Tags <html> - tag that creates the html document closed with </html> tag. <head> - tag that set off info that is not displayed on the web page itself, closed with the </head> tag. <title> - tag within the <head> tag that created the name of the document in the title bar.
  • 10. Basic HTML Tags <body> - tag that set off the visible portion of the document, contains all readable text in your web page. <!comments> - tag that allows the author to write comments which will not be displayed on the web page.
  • 11. A sample example to use basic HTML tags <html> <! Start of the document> <head> <title> My Home Page </title> </head> <body> text text text </body> </html>
  • 12. Saving your HTML File Click File > Save As Type a Filename for your HTML document and type the extension name .html .
  • 13. Formatting Tags <b> - gives bold format to text with closed </b> tag <i> - gives italic format to text with closed </i> tag <u> - gives underlined format to text with closed </u> tag <tt> - gives teletype format to text with closed </tt> tag <sub> - gives subscript effect with closed </sub> tag <sup> - gives superscript effect with closed </sup> tag <pre> - a tag that created a preformatted text
  • 14. Paragraph Tags <p> - creates a new paragraph with closed </p> tag Attributed of P tag <p align= “position” > –aligns the paragraph according to the position you set. - left, center, right. <br> - to break a line <blockquote> - indents your paragraph from both sides
  • 15. Paragraph Tag and Line Break <html> <head> <title> Paragraph Tag and Line Break</title> </head> <body> <p> This Paragraph Contains a lot of lines of Code, But browser ignores it. </p> <p> This Paragraph Contains a lot of lines of Code, But browser ignores it. </p> <p> To Break<br>lines<br>in a<br>paragraph, <br>use the br tag </p> </body> </html>
  • 16. Paragraph Tag and Line Break
  • 17. Creating a Centered Align heading <html> <head> <title> Paragraph Tag and Line Break</title> </head> <body> <h1 align=“center”> This is the Heading</h1> <p> The Heading above is aligned Centered on the page. The Heading above is aligned Centered on the page. The Heading above is aligned Centered on the page. </p> </body> </html>
  • 18. Creating a Centered Align heading
  • 19. Using Heading in Html Document Headings are use to differentiate certain sections of a html document from other sections. As their name implies , they create an impression of using headlines in your html document.
  • 20. Using Heading in Html Document <html> <head> <title> Different sizes of Heading </title> </head> <body> <h1> This is an example of Heading 1 </h1> <h2> This is an example of Heading 2 </h2> <h3> This is an example of Heading 3 </h3> <h4> This is an example of Heading 4 </h4> <h5> This is an example of Heading 5 </h5> <h6> This is an example of Heading 6 </h6> </body> </html>
  • 21. Using Heading in Html Document
  • 22. Working with Body and Font Attributes Using the body tag enables the user to manipulate the background colors and text for a HTML documents and using the font you can override the text color in body tag.
  • 23. Working with Body and Font Attributes <body> specifies that your in the body part of the document <body text = “blue” > - color of normal text within document background = “url”> - indicates the location of the file of an image to tile across the document background. bgcolor =“blue”> indicates the color of the document background <font> specifies the appearance of text of the body <font color = “blue”> - indicates the color of the browser uses to display text. face = “arial”> - specifies the font face to be use in the document size = “10”> - specifies the size of text affected by the font tag
  • 24. Working with Hyperlinks  A hyperlink is an underlined text or image that lets you jump from one webpage to another. Types of Text link in HTML: 1. Relative links – creates the link to the other page of the site. 2. Absolute links – uses URL to create a link to the address of that particular web page.
  • 25. Working with Absolute link <html> <head> <title> My Favorite links </title> </head> <body> <h1> My Favorite Links </h1> <a href = “http://www.yahoo.com”> www.yahoo.com </a> <br> <a href = “http://www.google.com”> www.google.com </a> <br> <a href = “http://www.msn.com”> www.msn.com </a> <br> <a href = “http://www.wikipedia.com”> www.wikipedia.com </a> <br> </body> </html>
  • 26. Working with Relative link <html> <head> <title> My Favorite links </title> </head> <body> <h1> My Local Links </h1> <a href = “a:index.html”> Click to go to Homepage </a> <br> <a href = “a:links.html”> Click to go to favorite link page </a> <br> <a href = “a:about.html”> Click to go to about me page</a> <br> </body> </html>
  • 27. Using Marquee Tag Animation is very easy in creating HTML documents using the marquee tag where in you convert a simple text into a moving set of characters from left to right or even from top to bottom.
  • 28. Attributes of a Marquee <marquee align =“left” > behavior =“slide” > - indicate type of scrolling slide , scroll, alternate bgcolor = “blue” > - indicate background color of marquee direction = “left” > - indicates the direction of marquee text scrolls (right , top, bottom) loop = “10” > - controls the appearance of marquee text
  • 29. Sample of a Marquee <html> <head> <title> Sample Marquee </title> </head> <body> <marquee behavior = “scroll” direction=“left” bgcolor=“red” > This is an Example of Marquee using certain attributes </marquee> </body> </html>

Notas do Editor

  1. Quiz and Lists Create an activities in hands-on: Font and bg attributes Marquee List: ordered and unordered
  2. Quiz and Lists Create an activities in hands-on: Font and bg attributes Marquee List: ordered and unordered