SlideShare a Scribd company logo
HTML Coding
Basic Tags
• You can create HTML files using the Notepad program.
• Start the Notepad program
• Type the given text
• Create a new folder and type a name, quotes
• Save the file in the quotes folder giving a name with the
extension .html, default.html
• Open this file in your Web browser by selecting File>Open and
specifying its location
Basic Tags
Code Tags
<html>....</html>
These tags tell your browser the start and finish of an HTML document.
<head>....</head>
The header information is written. The tags such as <link>, <meta>,
<script>, <style>, <title> and <base> can be used inside the head tags.
<body>....</body> The text that will be displayed in your browser
<title>....</title> The title that will be displayed in your browser's caption
Text Formatting
<h1>...<h6>
Headings are defined with the <h1> to <h6> tags. <h1>
defines the largest heading. <h6> defines the smallest
heading. HTML automatically adds an extra blank line before
and after a heading.
<p>...</p>
Paragraphs are defined with the <p> tag.
HTML automatically adds an extra blank line before and
after a paragraph.
You can align a paragraph to the left, center or right using
the following format:
<p align= "left"> , <p align= "center"> , <p align= "right">
<br>
Line Break: The <br> tag is used when you want to end a
line. It has no closing tag.
<center>…</center> It centers the text.
<b>...</b>,<i>...</i>,<u>...</u>
It defines bold, italic and, underline text sequentially
HTML code with text formatting tags
Preview – Text formatting tabs
Text formatting
• If you want to change font, font size, and font color, you can use
<Font> tag:
<font face="…" size="…" color="…">text</font>
• The size attribute can be set as an absolute value from 1 to 7 or as a
relative value using the "+" or "-" sign. Normal text is size 3.
• Add font tag to the sentence.
<font face="arial" size="4" color="crimson"> <p> <b> Imagination
</b> is more important than <u> knowledge </u> </font>
Horizontal Line
• A horizontal line is a great way to separate your Web page into
different sections and add visual borders.
• The basic syntax for a horizontal line:
<hr>
• Add a horizontal line after the Heading
<center><h1>Famous Quotes</h1></center>
<hr>
Background
• The <body> tag has two attributes bgcolor and background that
modify the background. The background can be a color or an image.
• The bgcolor attribute specifies a background color for an HTML
page.
• Change the <body> tag as follows:
<body bgcolor="lightyellow">
Background
• You may want to choose a background picture instead of plain color.
• Just change the code as follows.
<body background= "back.gif">
The browser window will be tiled with the background picture. The
background picture and the html file must be in the same folder;
otherwise the path to the picture must be specified.
Images
• Images are defined with the <img> tag. The syntax of adding an image:
<img src="..." width="x" height="y" alt="…" border=x>
• The src attribute names the image file.
• The width and height attributes specify the dimensions of the picture
and help to speed the display of your Web page.
• The alt attribute is used to define an "alternate text" that will be
displayed either when the browser can not load images or when you
hold your mouse a little on the picture.
• The border attribute is used to change the border size by typing a
number value.
Do not use large image files to avoid long delays while the image is
downloaded.
Images
• Add a picture after the horizontal line by specifying height, alt
and border attributes.
<img src="imagine.jpg" height="150" alt="Imagination is more
important than knowledge“ border="2">
Links
• The <a> (anchor) tag is used to create a link to another document
such as a Web page, a picture, a music file etc. The syntax of creating
a link:
<a href="URL" target="…">Text to be displayed as a hyperlink</a>
• The href attribute is used to address the document to link to.
• URL can be a Web address, a page inside the site, a picture, a file or
an email address.
• The target attribute can define where the linked document will be
opened. When you use it with "_blank" value, the document will be
opened in a new browser window.
• A hyperlink is usually blue and underlined.
Links
• Create a hyperlink to a picture with target attribute.
<a href="einstein.jpg" target="_blank"><i>Albert Einstein</i></a>
When you click the hyperlink Albert
Einstein, the picture einstein.jpg will
be opened in a new window.

More Related Content

What's hot

HTML5 - My First Webpage
HTML5 - My First Webpage HTML5 - My First Webpage
HTML5 - My First Webpage
Grayzon Gonzales, LPT
 
HTML Lists & Llinks
HTML Lists & LlinksHTML Lists & Llinks
HTML Lists & Llinks
Nisa Soomro
 
HTML5 - create hyperlinks and anchors
HTML5 - create hyperlinks and anchorsHTML5 - create hyperlinks and anchors
HTML5 - create hyperlinks and anchors
Grayzon Gonzales, LPT
 
uptu web technology unit 2 Css
uptu web technology unit 2 Cssuptu web technology unit 2 Css
uptu web technology unit 2 Css
Abhishek Kesharwani
 
uptu web technology unit 2 html
uptu web technology unit 2 htmluptu web technology unit 2 html
uptu web technology unit 2 html
Abhishek Kesharwani
 
Html link and list tags
Html link and list tagsHtml link and list tags
Html link and list tags
Himanshu Pathak
 
uptu web technology unit 2 Css
uptu web technology unit 2 Cssuptu web technology unit 2 Css
uptu web technology unit 2 Css
Abhishek Kesharwani
 
Html links
Html linksHtml links
Html links
JayjZens
 
Html tables
Html tablesHtml tables
Html tables
Himanshu Pathak
 
Html formatting
Html formattingHtml formatting
Html formatting
Webtech Learning
 
Html hyperlinks
Html hyperlinksHtml hyperlinks
Html hyperlinks
nobel mujuji
 
uptu web technology unit 2 html
uptu web technology unit 2 htmluptu web technology unit 2 html
uptu web technology unit 2 html
Abhishek Kesharwani
 
uptu web technology unit 2 html
uptu web technology unit 2 htmluptu web technology unit 2 html
uptu web technology unit 2 html
Abhishek Kesharwani
 
Web Development 1 (HTML & CSS)
Web Development 1 (HTML & CSS)Web Development 1 (HTML & CSS)
Web Development 1 (HTML & CSS)
ghayour abbas
 
Html 5
Html 5Html 5
Html tags
Html tagsHtml tags
Html tags
sotero66
 

What's hot (20)

HTML5 - My First Webpage
HTML5 - My First Webpage HTML5 - My First Webpage
HTML5 - My First Webpage
 
HTML Lists & Llinks
HTML Lists & LlinksHTML Lists & Llinks
HTML Lists & Llinks
 
Links - IntraPage
Links - IntraPageLinks - IntraPage
Links - IntraPage
 
HTML5 - create hyperlinks and anchors
HTML5 - create hyperlinks and anchorsHTML5 - create hyperlinks and anchors
HTML5 - create hyperlinks and anchors
 
uptu web technology unit 2 Css
uptu web technology unit 2 Cssuptu web technology unit 2 Css
uptu web technology unit 2 Css
 
LINKING IN HTML
LINKING IN HTMLLINKING IN HTML
LINKING IN HTML
 
uptu web technology unit 2 html
uptu web technology unit 2 htmluptu web technology unit 2 html
uptu web technology unit 2 html
 
Html link and list tags
Html link and list tagsHtml link and list tags
Html link and list tags
 
uptu web technology unit 2 Css
uptu web technology unit 2 Cssuptu web technology unit 2 Css
uptu web technology unit 2 Css
 
Html
HtmlHtml
Html
 
Html links
Html linksHtml links
Html links
 
Html tables
Html tablesHtml tables
Html tables
 
Html formatting
Html formattingHtml formatting
Html formatting
 
Html hyperlinks
Html hyperlinksHtml hyperlinks
Html hyperlinks
 
uptu web technology unit 2 html
uptu web technology unit 2 htmluptu web technology unit 2 html
uptu web technology unit 2 html
 
Html class-02
Html class-02Html class-02
Html class-02
 
uptu web technology unit 2 html
uptu web technology unit 2 htmluptu web technology unit 2 html
uptu web technology unit 2 html
 
Web Development 1 (HTML & CSS)
Web Development 1 (HTML & CSS)Web Development 1 (HTML & CSS)
Web Development 1 (HTML & CSS)
 
Html 5
Html 5Html 5
Html 5
 
Html tags
Html tagsHtml tags
Html tags
 

Similar to HTML Coding

4_5926925443935505826.pptx
4_5926925443935505826.pptx4_5926925443935505826.pptx
4_5926925443935505826.pptx
Lusi39
 
html
htmlhtml
html
tumetr1
 
Html cia
Html ciaHtml cia
Java script and html
Java script and htmlJava script and html
Java script and html
Malik M. Ali Shahid
 
Java script and html new
Java script and html newJava script and html new
Java script and html new
Malik M. Ali Shahid
 
Intro to html revised2
Intro to html revised2Intro to html revised2
Intro to html revised2
mmvidanes29
 
Basics ogHtml
Basics ogHtml Basics ogHtml
Basics ogHtml
rohitkumar2468
 
Presentation of Hyper Text Markup Language
Presentation of Hyper Text Markup LanguagePresentation of Hyper Text Markup Language
Presentation of Hyper Text Markup Language
JohnLagman3
 
html-150424090224-conversion-gate0.2.pdf
html-150424090224-conversion-gate0.2.pdfhtml-150424090224-conversion-gate0.2.pdf
html-150424090224-conversion-gate0.2.pdf
JohnLagman3
 
Unit 2 (html)
Unit 2  (html)Unit 2  (html)
Unit 2 (html)
manochitra10
 
HTML introduction for beginners Slides .pptx
HTML introduction for beginners Slides .pptxHTML introduction for beginners Slides .pptx
HTML introduction for beginners Slides .pptx
wewit44414
 
Computer application html
Computer application htmlComputer application html
Computer application html
PrashantChahal3
 
Lab1_HTML.pptx
Lab1_HTML.pptxLab1_HTML.pptx
Lab1_HTML.pptx
IslamGhonimi1
 
HTML Basics
HTML BasicsHTML Basics
HTML Basics
PumoTechnovation
 
HTML-Basic.pptx
HTML-Basic.pptxHTML-Basic.pptx
HTML-Basic.pptx
Pandiya Rajan
 
web development.pdf
web development.pdfweb development.pdf
web development.pdf
BagHarki
 
Html Workshop
Html WorkshopHtml Workshop
Html Workshop
vardanyan99
 
Web Design.ppt
Web Design.pptWeb Design.ppt
Web Design.ppt
Dr.R.SUGANYA RENGARAJ
 
LS2.1_V1_HTML.pptx
LS2.1_V1_HTML.pptxLS2.1_V1_HTML.pptx
LS2.1_V1_HTML.pptx
LokeshS94
 

Similar to HTML Coding (20)

4_5926925443935505826.pptx
4_5926925443935505826.pptx4_5926925443935505826.pptx
4_5926925443935505826.pptx
 
html
htmlhtml
html
 
Html cia
Html ciaHtml cia
Html cia
 
Java script and html
Java script and htmlJava script and html
Java script and html
 
Java script and html new
Java script and html newJava script and html new
Java script and html new
 
Intro to html revised2
Intro to html revised2Intro to html revised2
Intro to html revised2
 
Basics ogHtml
Basics ogHtml Basics ogHtml
Basics ogHtml
 
Html
HtmlHtml
Html
 
Presentation of Hyper Text Markup Language
Presentation of Hyper Text Markup LanguagePresentation of Hyper Text Markup Language
Presentation of Hyper Text Markup Language
 
html-150424090224-conversion-gate0.2.pdf
html-150424090224-conversion-gate0.2.pdfhtml-150424090224-conversion-gate0.2.pdf
html-150424090224-conversion-gate0.2.pdf
 
Unit 2 (html)
Unit 2  (html)Unit 2  (html)
Unit 2 (html)
 
HTML introduction for beginners Slides .pptx
HTML introduction for beginners Slides .pptxHTML introduction for beginners Slides .pptx
HTML introduction for beginners Slides .pptx
 
Computer application html
Computer application htmlComputer application html
Computer application html
 
Lab1_HTML.pptx
Lab1_HTML.pptxLab1_HTML.pptx
Lab1_HTML.pptx
 
HTML Basics
HTML BasicsHTML Basics
HTML Basics
 
HTML-Basic.pptx
HTML-Basic.pptxHTML-Basic.pptx
HTML-Basic.pptx
 
web development.pdf
web development.pdfweb development.pdf
web development.pdf
 
Html Workshop
Html WorkshopHtml Workshop
Html Workshop
 
Web Design.ppt
Web Design.pptWeb Design.ppt
Web Design.ppt
 
LS2.1_V1_HTML.pptx
LS2.1_V1_HTML.pptxLS2.1_V1_HTML.pptx
LS2.1_V1_HTML.pptx
 

More from selcukca84

Google forms
Google formsGoogle forms
Google forms
selcukca84
 
Wordpress - S03.L08 - Creating Sub-menus
Wordpress - S03.L08 - Creating Sub-menusWordpress - S03.L08 - Creating Sub-menus
Wordpress - S03.L08 - Creating Sub-menus
selcukca84
 
Wordpress - S03.L06 - Adding Videos
Wordpress - S03.L06 - Adding VideosWordpress - S03.L06 - Adding Videos
Wordpress - S03.L06 - Adding Videos
selcukca84
 
Wordpress - S03.L07 - Inserting Hyperlinks
Wordpress - S03.L07 - Inserting HyperlinksWordpress - S03.L07 - Inserting Hyperlinks
Wordpress - S03.L07 - Inserting Hyperlinks
selcukca84
 
Wordpress - S03.L05 - Adding Posts
Wordpress - S03.L05 - Adding PostsWordpress - S03.L05 - Adding Posts
Wordpress - S03.L05 - Adding Posts
selcukca84
 
Wordpress - S03.L04 - Creating Pages
Wordpress - S03.L04 - Creating PagesWordpress - S03.L04 - Creating Pages
Wordpress - S03.L04 - Creating Pages
selcukca84
 
Wordpress - S03.L03 - Customizing the Theme
Wordpress - S03.L03 - Customizing the ThemeWordpress - S03.L03 - Customizing the Theme
Wordpress - S03.L03 - Customizing the Theme
selcukca84
 
Wordpress - S03.L01 - Using Google Drive
Wordpress - S03.L01 - Using Google DriveWordpress - S03.L01 - Using Google Drive
Wordpress - S03.L01 - Using Google Drive
selcukca84
 
Introduction to HTML
Introduction to HTMLIntroduction to HTML
Introduction to HTML
selcukca84
 
Making PowerPoint Slides
Making PowerPoint SlidesMaking PowerPoint Slides
Making PowerPoint Slides
selcukca84
 
S01.L07 - Creating Strong Passwords
S01.L07 - Creating Strong PasswordsS01.L07 - Creating Strong Passwords
S01.L07 - Creating Strong Passwords
selcukca84
 
S01.L06 - Internet Security
S01.L06 - Internet SecurityS01.L06 - Internet Security
S01.L06 - Internet Security
selcukca84
 
S01.L05 - Using Search Engines
S01.L05 - Using Search EnginesS01.L05 - Using Search Engines
S01.L05 - Using Search Engines
selcukca84
 
S01.L04 - Understanding the Cloud
S01.L04 - Understanding the CloudS01.L04 - Understanding the Cloud
S01.L04 - Understanding the Cloud
selcukca84
 
S01.L03 - Connecting to the Internet
S01.L03 - Connecting to the InternetS01.L03 - Connecting to the Internet
S01.L03 - Connecting to the Internet
selcukca84
 
S01.L02 - Internet Servers
S01.L02 - Internet ServersS01.L02 - Internet Servers
S01.L02 - Internet Servers
selcukca84
 
S01.L01 - Understanding the Internet
S01.L01 - Understanding the InternetS01.L01 - Understanding the Internet
S01.L01 - Understanding the Internet
selcukca84
 
Testi arritshmerise
Testi arritshmeriseTesti arritshmerise
Testi arritshmerise
selcukca84
 
Decimal vs binary
Decimal vs binaryDecimal vs binary
Decimal vs binary
selcukca84
 
Windows 7 Accessories
Windows 7 AccessoriesWindows 7 Accessories
Windows 7 Accessories
selcukca84
 

More from selcukca84 (20)

Google forms
Google formsGoogle forms
Google forms
 
Wordpress - S03.L08 - Creating Sub-menus
Wordpress - S03.L08 - Creating Sub-menusWordpress - S03.L08 - Creating Sub-menus
Wordpress - S03.L08 - Creating Sub-menus
 
Wordpress - S03.L06 - Adding Videos
Wordpress - S03.L06 - Adding VideosWordpress - S03.L06 - Adding Videos
Wordpress - S03.L06 - Adding Videos
 
Wordpress - S03.L07 - Inserting Hyperlinks
Wordpress - S03.L07 - Inserting HyperlinksWordpress - S03.L07 - Inserting Hyperlinks
Wordpress - S03.L07 - Inserting Hyperlinks
 
Wordpress - S03.L05 - Adding Posts
Wordpress - S03.L05 - Adding PostsWordpress - S03.L05 - Adding Posts
Wordpress - S03.L05 - Adding Posts
 
Wordpress - S03.L04 - Creating Pages
Wordpress - S03.L04 - Creating PagesWordpress - S03.L04 - Creating Pages
Wordpress - S03.L04 - Creating Pages
 
Wordpress - S03.L03 - Customizing the Theme
Wordpress - S03.L03 - Customizing the ThemeWordpress - S03.L03 - Customizing the Theme
Wordpress - S03.L03 - Customizing the Theme
 
Wordpress - S03.L01 - Using Google Drive
Wordpress - S03.L01 - Using Google DriveWordpress - S03.L01 - Using Google Drive
Wordpress - S03.L01 - Using Google Drive
 
Introduction to HTML
Introduction to HTMLIntroduction to HTML
Introduction to HTML
 
Making PowerPoint Slides
Making PowerPoint SlidesMaking PowerPoint Slides
Making PowerPoint Slides
 
S01.L07 - Creating Strong Passwords
S01.L07 - Creating Strong PasswordsS01.L07 - Creating Strong Passwords
S01.L07 - Creating Strong Passwords
 
S01.L06 - Internet Security
S01.L06 - Internet SecurityS01.L06 - Internet Security
S01.L06 - Internet Security
 
S01.L05 - Using Search Engines
S01.L05 - Using Search EnginesS01.L05 - Using Search Engines
S01.L05 - Using Search Engines
 
S01.L04 - Understanding the Cloud
S01.L04 - Understanding the CloudS01.L04 - Understanding the Cloud
S01.L04 - Understanding the Cloud
 
S01.L03 - Connecting to the Internet
S01.L03 - Connecting to the InternetS01.L03 - Connecting to the Internet
S01.L03 - Connecting to the Internet
 
S01.L02 - Internet Servers
S01.L02 - Internet ServersS01.L02 - Internet Servers
S01.L02 - Internet Servers
 
S01.L01 - Understanding the Internet
S01.L01 - Understanding the InternetS01.L01 - Understanding the Internet
S01.L01 - Understanding the Internet
 
Testi arritshmerise
Testi arritshmeriseTesti arritshmerise
Testi arritshmerise
 
Decimal vs binary
Decimal vs binaryDecimal vs binary
Decimal vs binary
 
Windows 7 Accessories
Windows 7 AccessoriesWindows 7 Accessories
Windows 7 Accessories
 

Recently uploaded

Unit 8 - Information and Communication Technology (Paper I).pdf
Unit 8 - Information and Communication Technology (Paper I).pdfUnit 8 - Information and Communication Technology (Paper I).pdf
Unit 8 - Information and Communication Technology (Paper I).pdf
Thiyagu K
 
Lapbook sobre os Regimes Totalitários.pdf
Lapbook sobre os Regimes Totalitários.pdfLapbook sobre os Regimes Totalitários.pdf
Lapbook sobre os Regimes Totalitários.pdf
Jean Carlos Nunes Paixão
 
"Protectable subject matters, Protection in biotechnology, Protection of othe...
"Protectable subject matters, Protection in biotechnology, Protection of othe..."Protectable subject matters, Protection in biotechnology, Protection of othe...
"Protectable subject matters, Protection in biotechnology, Protection of othe...
SACHIN R KONDAGURI
 
How to Build a Module in Odoo 17 Using the Scaffold Method
How to Build a Module in Odoo 17 Using the Scaffold MethodHow to Build a Module in Odoo 17 Using the Scaffold Method
How to Build a Module in Odoo 17 Using the Scaffold Method
Celine George
 
Normal Labour/ Stages of Labour/ Mechanism of Labour
Normal Labour/ Stages of Labour/ Mechanism of LabourNormal Labour/ Stages of Labour/ Mechanism of Labour
Normal Labour/ Stages of Labour/ Mechanism of Labour
Wasim Ak
 
DRUGS AND ITS classification slide share
DRUGS AND ITS classification slide shareDRUGS AND ITS classification slide share
DRUGS AND ITS classification slide share
taiba qazi
 
S1-Introduction-Biopesticides in ICM.pptx
S1-Introduction-Biopesticides in ICM.pptxS1-Introduction-Biopesticides in ICM.pptx
S1-Introduction-Biopesticides in ICM.pptx
tarandeep35
 
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
 
The Diamonds of 2023-2024 in the IGRA collection
The Diamonds of 2023-2024 in the IGRA collectionThe Diamonds of 2023-2024 in the IGRA collection
The Diamonds of 2023-2024 in the IGRA collection
Israel Genealogy Research Association
 
Delivering Micro-Credentials in Technical and Vocational Education and Training
Delivering Micro-Credentials in Technical and Vocational Education and TrainingDelivering Micro-Credentials in Technical and Vocational Education and Training
Delivering Micro-Credentials in Technical and Vocational Education and Training
AG2 Design
 
CACJapan - GROUP Presentation 1- Wk 4.pdf
CACJapan - GROUP Presentation 1- Wk 4.pdfCACJapan - GROUP Presentation 1- Wk 4.pdf
CACJapan - GROUP Presentation 1- Wk 4.pdf
camakaiclarkmusic
 
Mule 4.6 & Java 17 Upgrade | MuleSoft Mysore Meetup #46
Mule 4.6 & Java 17 Upgrade | MuleSoft Mysore Meetup #46Mule 4.6 & Java 17 Upgrade | MuleSoft Mysore Meetup #46
Mule 4.6 & Java 17 Upgrade | MuleSoft Mysore Meetup #46
MysoreMuleSoftMeetup
 
Advantages and Disadvantages of CMS from an SEO Perspective
Advantages and Disadvantages of CMS from an SEO PerspectiveAdvantages and Disadvantages of CMS from an SEO Perspective
Advantages and Disadvantages of CMS from an SEO Perspective
Krisztián Száraz
 
A Strategic Approach: GenAI in Education
A Strategic Approach: GenAI in EducationA Strategic Approach: GenAI in Education
A Strategic Approach: GenAI in Education
Peter Windle
 
Exploiting Artificial Intelligence for Empowering Researchers and Faculty, In...
Exploiting Artificial Intelligence for Empowering Researchers and Faculty, In...Exploiting Artificial Intelligence for Empowering Researchers and Faculty, In...
Exploiting Artificial Intelligence for Empowering Researchers and Faculty, In...
Dr. Vinod Kumar Kanvaria
 
South African Journal of Science: Writing with integrity workshop (2024)
South African Journal of Science: Writing with integrity workshop (2024)South African Journal of Science: Writing with integrity workshop (2024)
South African Journal of Science: Writing with integrity workshop (2024)
Academy of Science of South Africa
 
Introduction to AI for Nonprofits with Tapp Network
Introduction to AI for Nonprofits with Tapp NetworkIntroduction to AI for Nonprofits with Tapp Network
Introduction to AI for Nonprofits with Tapp Network
TechSoup
 
Digital Artefact 1 - Tiny Home Environmental Design
Digital Artefact 1 - Tiny Home Environmental DesignDigital Artefact 1 - Tiny Home Environmental Design
Digital Artefact 1 - Tiny Home Environmental Design
amberjdewit93
 
Azure Interview Questions and Answers PDF By ScholarHat
Azure Interview Questions and Answers PDF By ScholarHatAzure Interview Questions and Answers PDF By ScholarHat
Azure Interview Questions and Answers PDF By ScholarHat
Scholarhat
 
Unit 2- Research Aptitude (UGC NET Paper I).pdf
Unit 2- Research Aptitude (UGC NET Paper I).pdfUnit 2- Research Aptitude (UGC NET Paper I).pdf
Unit 2- Research Aptitude (UGC NET Paper I).pdf
Thiyagu K
 

Recently uploaded (20)

Unit 8 - Information and Communication Technology (Paper I).pdf
Unit 8 - Information and Communication Technology (Paper I).pdfUnit 8 - Information and Communication Technology (Paper I).pdf
Unit 8 - Information and Communication Technology (Paper I).pdf
 
Lapbook sobre os Regimes Totalitários.pdf
Lapbook sobre os Regimes Totalitários.pdfLapbook sobre os Regimes Totalitários.pdf
Lapbook sobre os Regimes Totalitários.pdf
 
"Protectable subject matters, Protection in biotechnology, Protection of othe...
"Protectable subject matters, Protection in biotechnology, Protection of othe..."Protectable subject matters, Protection in biotechnology, Protection of othe...
"Protectable subject matters, Protection in biotechnology, Protection of othe...
 
How to Build a Module in Odoo 17 Using the Scaffold Method
How to Build a Module in Odoo 17 Using the Scaffold MethodHow to Build a Module in Odoo 17 Using the Scaffold Method
How to Build a Module in Odoo 17 Using the Scaffold Method
 
Normal Labour/ Stages of Labour/ Mechanism of Labour
Normal Labour/ Stages of Labour/ Mechanism of LabourNormal Labour/ Stages of Labour/ Mechanism of Labour
Normal Labour/ Stages of Labour/ Mechanism of Labour
 
DRUGS AND ITS classification slide share
DRUGS AND ITS classification slide shareDRUGS AND ITS classification slide share
DRUGS AND ITS classification slide share
 
S1-Introduction-Biopesticides in ICM.pptx
S1-Introduction-Biopesticides in ICM.pptxS1-Introduction-Biopesticides in ICM.pptx
S1-Introduction-Biopesticides in ICM.pptx
 
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 ...
 
The Diamonds of 2023-2024 in the IGRA collection
The Diamonds of 2023-2024 in the IGRA collectionThe Diamonds of 2023-2024 in the IGRA collection
The Diamonds of 2023-2024 in the IGRA collection
 
Delivering Micro-Credentials in Technical and Vocational Education and Training
Delivering Micro-Credentials in Technical and Vocational Education and TrainingDelivering Micro-Credentials in Technical and Vocational Education and Training
Delivering Micro-Credentials in Technical and Vocational Education and Training
 
CACJapan - GROUP Presentation 1- Wk 4.pdf
CACJapan - GROUP Presentation 1- Wk 4.pdfCACJapan - GROUP Presentation 1- Wk 4.pdf
CACJapan - GROUP Presentation 1- Wk 4.pdf
 
Mule 4.6 & Java 17 Upgrade | MuleSoft Mysore Meetup #46
Mule 4.6 & Java 17 Upgrade | MuleSoft Mysore Meetup #46Mule 4.6 & Java 17 Upgrade | MuleSoft Mysore Meetup #46
Mule 4.6 & Java 17 Upgrade | MuleSoft Mysore Meetup #46
 
Advantages and Disadvantages of CMS from an SEO Perspective
Advantages and Disadvantages of CMS from an SEO PerspectiveAdvantages and Disadvantages of CMS from an SEO Perspective
Advantages and Disadvantages of CMS from an SEO Perspective
 
A Strategic Approach: GenAI in Education
A Strategic Approach: GenAI in EducationA Strategic Approach: GenAI in Education
A Strategic Approach: GenAI in Education
 
Exploiting Artificial Intelligence for Empowering Researchers and Faculty, In...
Exploiting Artificial Intelligence for Empowering Researchers and Faculty, In...Exploiting Artificial Intelligence for Empowering Researchers and Faculty, In...
Exploiting Artificial Intelligence for Empowering Researchers and Faculty, In...
 
South African Journal of Science: Writing with integrity workshop (2024)
South African Journal of Science: Writing with integrity workshop (2024)South African Journal of Science: Writing with integrity workshop (2024)
South African Journal of Science: Writing with integrity workshop (2024)
 
Introduction to AI for Nonprofits with Tapp Network
Introduction to AI for Nonprofits with Tapp NetworkIntroduction to AI for Nonprofits with Tapp Network
Introduction to AI for Nonprofits with Tapp Network
 
Digital Artefact 1 - Tiny Home Environmental Design
Digital Artefact 1 - Tiny Home Environmental DesignDigital Artefact 1 - Tiny Home Environmental Design
Digital Artefact 1 - Tiny Home Environmental Design
 
Azure Interview Questions and Answers PDF By ScholarHat
Azure Interview Questions and Answers PDF By ScholarHatAzure Interview Questions and Answers PDF By ScholarHat
Azure Interview Questions and Answers PDF By ScholarHat
 
Unit 2- Research Aptitude (UGC NET Paper I).pdf
Unit 2- Research Aptitude (UGC NET Paper I).pdfUnit 2- Research Aptitude (UGC NET Paper I).pdf
Unit 2- Research Aptitude (UGC NET Paper I).pdf
 

HTML Coding

  • 2. Basic Tags • You can create HTML files using the Notepad program. • Start the Notepad program • Type the given text • Create a new folder and type a name, quotes • Save the file in the quotes folder giving a name with the extension .html, default.html • Open this file in your Web browser by selecting File>Open and specifying its location
  • 4. Code Tags <html>....</html> These tags tell your browser the start and finish of an HTML document. <head>....</head> The header information is written. The tags such as <link>, <meta>, <script>, <style>, <title> and <base> can be used inside the head tags. <body>....</body> The text that will be displayed in your browser <title>....</title> The title that will be displayed in your browser's caption
  • 5. Text Formatting <h1>...<h6> Headings are defined with the <h1> to <h6> tags. <h1> defines the largest heading. <h6> defines the smallest heading. HTML automatically adds an extra blank line before and after a heading. <p>...</p> Paragraphs are defined with the <p> tag. HTML automatically adds an extra blank line before and after a paragraph. You can align a paragraph to the left, center or right using the following format: <p align= "left"> , <p align= "center"> , <p align= "right"> <br> Line Break: The <br> tag is used when you want to end a line. It has no closing tag. <center>…</center> It centers the text. <b>...</b>,<i>...</i>,<u>...</u> It defines bold, italic and, underline text sequentially
  • 6. HTML code with text formatting tags
  • 7. Preview – Text formatting tabs
  • 8. Text formatting • If you want to change font, font size, and font color, you can use <Font> tag: <font face="…" size="…" color="…">text</font> • The size attribute can be set as an absolute value from 1 to 7 or as a relative value using the "+" or "-" sign. Normal text is size 3. • Add font tag to the sentence. <font face="arial" size="4" color="crimson"> <p> <b> Imagination </b> is more important than <u> knowledge </u> </font>
  • 9. Horizontal Line • A horizontal line is a great way to separate your Web page into different sections and add visual borders. • The basic syntax for a horizontal line: <hr> • Add a horizontal line after the Heading <center><h1>Famous Quotes</h1></center> <hr>
  • 10. Background • The <body> tag has two attributes bgcolor and background that modify the background. The background can be a color or an image. • The bgcolor attribute specifies a background color for an HTML page. • Change the <body> tag as follows: <body bgcolor="lightyellow">
  • 11. Background • You may want to choose a background picture instead of plain color. • Just change the code as follows. <body background= "back.gif"> The browser window will be tiled with the background picture. The background picture and the html file must be in the same folder; otherwise the path to the picture must be specified.
  • 12. Images • Images are defined with the <img> tag. The syntax of adding an image: <img src="..." width="x" height="y" alt="…" border=x> • The src attribute names the image file. • The width and height attributes specify the dimensions of the picture and help to speed the display of your Web page. • The alt attribute is used to define an "alternate text" that will be displayed either when the browser can not load images or when you hold your mouse a little on the picture. • The border attribute is used to change the border size by typing a number value. Do not use large image files to avoid long delays while the image is downloaded.
  • 13. Images • Add a picture after the horizontal line by specifying height, alt and border attributes. <img src="imagine.jpg" height="150" alt="Imagination is more important than knowledge“ border="2">
  • 14. Links • The <a> (anchor) tag is used to create a link to another document such as a Web page, a picture, a music file etc. The syntax of creating a link: <a href="URL" target="…">Text to be displayed as a hyperlink</a> • The href attribute is used to address the document to link to. • URL can be a Web address, a page inside the site, a picture, a file or an email address. • The target attribute can define where the linked document will be opened. When you use it with "_blank" value, the document will be opened in a new browser window. • A hyperlink is usually blue and underlined.
  • 15. Links • Create a hyperlink to a picture with target attribute. <a href="einstein.jpg" target="_blank"><i>Albert Einstein</i></a> When you click the hyperlink Albert Einstein, the picture einstein.jpg will be opened in a new window.