尊敬的 微信汇率:1円 ≈ 0.046166 元 支付宝汇率:1円 ≈ 0.046257元 [退出登录]
SlideShare a Scribd company logo
HTML TAGS ,[object Object]
[object Object]
Basic HTML Tags   Tag  Description <html>  Defines an HTML document <head>  Defines information about the document <title>  Defines the document title <body>  Defines the document's body <h1> to <h6>  Defines header 1 to header 6 <p>  Defines a paragraph <br>  Inserts a single line break <hr>  Defines a horizontal rule <!-->  Defines a comment
<html>tag This element tells a browser that this is an HTML document. This tag is defined at the top of the HTML file and at the end of file.   Format: <html> <body>..............body of HTML.............</body></html>   Example: <html> <body> this is my first page </body></html>
<head> tag The head tag defines information about the document. The browser does not display the &quot;head information&quot; to the user. The following tags can be in the head section: <base>, <link>, <meta>, <script>, <style>, and <title>. The head tag is used between <html> and <body> tags.   Format: <html> <head>.....head sections....</head><body>......body of HTML........</body></html>   Example: <html> <head><title>Basic tag</title></head>>body> this is my first page </body></html>
<title> tag Title tag defines the title of the document which appears in the Title bar of the explorer window. Title tag is used in between <head> and </head> tag because it is title tag is section of <head> tag.   Format: <html> <head><title>Title of the Page</title></head><body>.....body of HTML......</body></html>   Example: <html> <head><title>Basic tag</title></head><body> this is my first page </body></html>
<body> tag The body element defines the document's body. It contains all the contents of the document (like text, images, colors, graphics etc).   Format: <body bgcolor =&quot;color_name&quot; background=&quot;file_name&quot; links=&quot;color_name&quot; text=&quot;color_name&quot;>    Example: <body bgcolor =&quot;red&quot; background=&quot;c:mgky.jpg&quot; links=&quot;blue&quot; text=&quot;black&quot;>  
<hn>...</hn> Heading Tags These tags are used to display headings in an HTML document. through these tags you can increase the size of the text. In these tags <h1> tag defines the largest header & <h6> defines smallest.   These tags are <h1> </h1>, <h2> </h2>, <h3> </h3>, <h4> </h4>, <h5> </h5>   Format: <hn>.............. text..............</hn>   Example: <h1> this is my first page </h1> or <h1 align=&quot;right&quot;>text</h1> Attribute of the <hn> Tag.
<p>.....</p> Paragraph Tag This tag is used for creating the paragraph in the web page. It is used inside the body of file.   Format: <p>......longtext..........</p>   Example: <p> This is the test of paragraph tag........</p>   In this tag align attribute can be used.
<br> tag The <br> tag inserts a single line break. Use the <br> tag to enter blank lines, not to separate paragraphs. This tag has no end tag.   Format text........<br> .....text   Example: This is a break <br> in the line.
<hr> tag The <hr> tag inserts a horizontal rule. The <hr> tag has no end tag.   Format: text......<hr> ......text or text......<hr align=&quot; &quot; size=&quot; &quot; width=&quot; &quot;>.... text   Example: This is the test of the tag <hr>  
<!--...--> Comment Tag The comment tag is used to insert a comment in the source code. A comment will be ignored by the browser. You can use comments to explain your code, which can help you when you edit the source code at a later date.   You can also store program-specific information inside comments. In this case they will not be visible for the user, but they are still available to the program. A good practice is to comment the text inside the script and style elements to prevent older browsers, that do not support scripting or styles, from showing it as plain text.   Format: <!-- add here your comments these will not be displayed -->   Example: <!-- add here your comments these will not be displayed -->
 
Example for basic command: <html> <head> <title>In body tag</title> </head> <body bgcolor=&quot;lightyellow&quot; text=&quot;red&quot;> In body tag, background color is defined as black and textcolor is defined as the white. <hr> <h1> this is the h1 header </h1> <h2> this is the h2header </h2> <h3> this is the h3 header </h3> <h4> this is the h4 header </h4> <h5> this is the h5 header </h5> <hr>This is the use of &quot;Break&quot; tag<br> and you will see use of more tags<br> <hr> look at the use of comment tag it is<!-- It is a comment line --> good <hr><p> This is the use of paragraph tag and you will see use of more tags </p> The effect of &quot;hr&quot; tag <br> <hr> </body> </html>
Character Format Tags   These tags are used for the formatting of the text such as underline, bold, italic, font, size, color of the text. All these character formatting Tags are defined in the table shown below:    Char Format Tag  Description <b>  Displays bold text <i> Displays italic text   <tt> Renders as teletype or mono spaced text   <u> Displays underlined text   <em> Displays emphasized text     <big> Displays big text   <small> Displays small text   <strong> Displays strong text   <sub> Displays subscripted text <sup> Displays superscripted text <bdo> Defines the direction of text display <font> Defines the font face, size, and color of  text
<b> Tag The <b> tag is used to make the text bold.   Format: <b> ................text.........</b>   <i> Tag The <i> tag displays the italic text.   Format: <i> ................text.........</i>;     <tt> Tag The <tt> tag displays the typewriter text.   Format: <tt> ................text.........</tt>  
<u> Tag The <u> tag displays the underlined text.   Format: <u> ................text.........</u>   <em> Tag The <em> tag displays the emphasized text.   Format: <em> ................text.........</em>     <big> Tag The <big> tag displays the big text.   Format: <big> ................text.........</big>  
<small> Tag The <small> tag displays the small text.   Format: <small> ................text.........</small>   <strong> Tag The <strong> tag displays strong text.   Format: <strong> ................text.........</strong>   <sub> Tag The <sub> tag displays text in subscripted format.   Format: <sub> ................text.........</sub>
<sup> Tag The <sup> tag displays superscripted text.   Format: <sup> ................text.........</sup>     <bdo> Tag The <bdo> tag defines the direction of the text.    Format: <bdo> ................text.........</bdo>     <font> Tag The <font> tag defines the font, color, size of the text.   Format: <font face=&quot;font_name&quot; color=&quot;color_name&quot; size=&quot;number&quot;>........text.........</font>   
Example: for character tag: <html>< body>  <b>This text is bold</b> <br>  <strong> This text is strong </strong> <br>  <big> This text is big </big> <br>  <em> This text is emphasized </em> <br>  <i> This text is italic </i> <br>  <small> This text is small </small> <br>  <u> this is underlined text </u> <br>  This text contains  <sub> subscript </sub>  <br>  This text contains  <sup> superscript </sup>  <br> The use of font tag  <font face=&quot;arial&quot; size=&quot;3&quot; color=&quot;green&quot;>  this is use of font tag</font> </body> html>
 
Output Tags   These tags are often used to display computer/programming code. You might be surprised for &quot;how to display the text containing the spaces, line breaks, programming codes, sample text, define variable&quot;. Do not worry, because in this chapter we are going to show you how easily you can do easily.    So lets start with these tags:    Tag Description <pre> Defines preformatted text <code> Defines computer code text <tt> Defines teletype text <kbd> Defines keyboard text <var> Defines a variable <dfn> Defines a definition term <bdo> Defines the direction of text display <samp> Defines sample computer code  
<pre>.........</pre>Tag This is preformatted text. It preserves both spaces and line breaks. The pre tag is good for displaying computer code.   Format: <pre> .....text.....</pre>   Example: <pre> for i = 1 to 10 print i next i </pre>   Output: for i = 1 to 10 print i next i
<code> .....text ......</code> Tag  This tag is also used to display the computer code. But better you use <pre> tag.   Format: <code> .....text.....</code>      <kbd>.....Keyboard Input......</kbd> Tag  This tag displays the Keyboard Input.   Format: <kbd> ........ Keyboard Input......</kbd>      <tt>......text....</tt> Tag  This tag displays the typewriter text.   Format: <tt> .....text.....</tt>
<samp>....sample text...</samp> Tag  This tag displays the sample text.   Format: <samp> .....sample text.....</samp>      <var> computer variable </var>  This tag defines the computer variable.   Format: <var> computer variable </var>   <dfn> definition term </dfn>  this tag is used for definition term.
<html>  <body> <code>Computer code</code>  <br>  <kbd>Keyboard input</kbd>  <br>  <tt>Teletype text</tt>  <br>  <samp>Sample text</samp>  <br>  <var>Computer variable</var>  <br>  <p>  <b>Note:</b>  These tags are often used to display computer/programming code.  </p>  </body>  </html>
 

More Related Content

What's hot

Intro Html
Intro HtmlIntro Html
Intro Html
Chidanand Byahatti
 
Html
HtmlHtml
Learning HTML
Learning HTMLLearning HTML
Learning HTML
Md. Sirajus Salayhin
 
Learning Html
Learning HtmlLearning Html
Learning Html
Damian Gonz
 
Introduction to HTML
Introduction to HTMLIntroduction to HTML
Introduction to HTML
MayaLisa
 
Intro to html
Intro to htmlIntro to html
Intro to html
anshuman rahi
 
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
 
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
 
1 03 - CSS Introduction
1 03 - CSS Introduction1 03 - CSS Introduction
1 03 - CSS Introduction
apnwebdev
 
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 Text formatting tags
HTML Text formatting tagsHTML Text formatting tags
HTML Text formatting tags
Himanshu Pathak
 
Introduction to Cascading Style Sheets (CSS)
Introduction to Cascading Style Sheets (CSS)Introduction to Cascading Style Sheets (CSS)
Introduction to Cascading Style Sheets (CSS)
Chris Poteet
 
Html basics
Html basicsHtml basics
Html basics
mcatahir947
 
Html n CSS
Html n CSSHtml n CSS
Html n CSS
Sukrit Gupta
 
Introduction to HTML and CSS
Introduction to HTML and CSSIntroduction to HTML and CSS
Introduction to HTML and CSS
Ferdous Mahmud Shaon
 
Html table
Html tableHtml table
Html table
JayjZens
 
Html training slide
Html training slideHtml training slide
Html training slide
villupuramtraining
 
HTML Forms
HTML FormsHTML Forms
HTML Forms
Nisa Soomro
 
computer language - Html frames
computer language - Html framescomputer language - Html frames
computer language - Html frames
Dr. I. Uma Maheswari Maheswari
 
Css Ppt
Css PptCss Ppt
Css Ppt
Hema Prasanth
 

What's hot (20)

Intro Html
Intro HtmlIntro Html
Intro Html
 
Html
HtmlHtml
Html
 
Learning HTML
Learning HTMLLearning HTML
Learning HTML
 
Learning Html
Learning HtmlLearning Html
Learning Html
 
Introduction to HTML
Introduction to HTMLIntroduction to HTML
Introduction to HTML
 
Intro to html
Intro to htmlIntro to html
Intro 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
 
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
 
1 03 - CSS Introduction
1 03 - CSS Introduction1 03 - CSS Introduction
1 03 - CSS Introduction
 
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 Text formatting tags
HTML Text formatting tagsHTML Text formatting tags
HTML Text formatting tags
 
Introduction to Cascading Style Sheets (CSS)
Introduction to Cascading Style Sheets (CSS)Introduction to Cascading Style Sheets (CSS)
Introduction to Cascading Style Sheets (CSS)
 
Html basics
Html basicsHtml basics
Html basics
 
Html n CSS
Html n CSSHtml n CSS
Html n CSS
 
Introduction to HTML and CSS
Introduction to HTML and CSSIntroduction to HTML and CSS
Introduction to HTML and CSS
 
Html table
Html tableHtml table
Html table
 
Html training slide
Html training slideHtml training slide
Html training slide
 
HTML Forms
HTML FormsHTML Forms
HTML Forms
 
computer language - Html frames
computer language - Html framescomputer language - Html frames
computer language - Html frames
 
Css Ppt
Css PptCss Ppt
Css Ppt
 

Viewers also liked

Materi 1 Kuliah Pemrograman Web
Materi 1 Kuliah Pemrograman Web Materi 1 Kuliah Pemrograman Web
Materi 1 Kuliah Pemrograman Web
Antonius Manginsela
 
Belajar html untuk pemula 1
Belajar html untuk pemula 1Belajar html untuk pemula 1
Belajar html untuk pemula 1
Ridwan Ajjh
 
Html Power Point 3
Html Power Point 3Html Power Point 3
Html Power Point 3
JenniferHinz
 
Pengenalan HTML ( Bambang Sugianto, S.T., M.Kom - UMNU KEBUMEN )
Pengenalan HTML ( Bambang Sugianto, S.T., M.Kom - UMNU KEBUMEN )Pengenalan HTML ( Bambang Sugianto, S.T., M.Kom - UMNU KEBUMEN )
Pengenalan HTML ( Bambang Sugianto, S.T., M.Kom - UMNU KEBUMEN )
Bambang Sugianto
 
Html power point
Html power pointHtml power point
Html power point
minmon
 
Span and Div tags in HTML
Span and Div tags in HTMLSpan and Div tags in HTML
Span and Div tags in HTML
Biswadip Goswami
 
Font
FontFont
Php variables (english)
Php variables (english)Php variables (english)
Php variables (english)
Mahmoud Masih Tehrani
 
Html tags describe in bangla
Html tags describe in banglaHtml tags describe in bangla
Html tags describe in bangla
Amrita Chandra Das
 
Constructor and encapsulation in php
Constructor and encapsulation in phpConstructor and encapsulation in php
Constructor and encapsulation in php
SHIVANI SONI
 
html tags
html tagshtml tags
html tags
Kunal gupta
 
OOPS Characteristics (With Examples in PHP)
OOPS Characteristics (With Examples in PHP)OOPS Characteristics (With Examples in PHP)
OOPS Characteristics (With Examples in PHP)
baabtra.com - No. 1 supplier of quality freshers
 
Control Structures In Php 2
Control Structures In Php 2Control Structures In Php 2
Control Structures In Php 2
Digital Insights - Digital Marketing Agency
 
Html Basic Tags
Html Basic TagsHtml Basic Tags
Html Basic Tags
Richa Singh
 
Arrays in PHP
Arrays in PHPArrays in PHP
Arrays in PHP
Vineet Kumar Saini
 
Execute MySQL query using command prompt
Execute MySQL query using command promptExecute MySQL query using command prompt
Execute MySQL query using command prompt
Ikhwan Krisnadi
 
What's new in PHP 7.1
What's new in PHP 7.1What's new in PHP 7.1
What's new in PHP 7.1
Simon Jones
 
Web topic 3 html format tags
Web topic 3  html format tagsWeb topic 3  html format tags
Web topic 3 html format tags
CK Yang
 
PHP Comprehensive Overview
PHP Comprehensive OverviewPHP Comprehensive Overview
PHP Comprehensive Overview
Mohamed Loey
 
PHP
PHPPHP

Viewers also liked (20)

Materi 1 Kuliah Pemrograman Web
Materi 1 Kuliah Pemrograman Web Materi 1 Kuliah Pemrograman Web
Materi 1 Kuliah Pemrograman Web
 
Belajar html untuk pemula 1
Belajar html untuk pemula 1Belajar html untuk pemula 1
Belajar html untuk pemula 1
 
Html Power Point 3
Html Power Point 3Html Power Point 3
Html Power Point 3
 
Pengenalan HTML ( Bambang Sugianto, S.T., M.Kom - UMNU KEBUMEN )
Pengenalan HTML ( Bambang Sugianto, S.T., M.Kom - UMNU KEBUMEN )Pengenalan HTML ( Bambang Sugianto, S.T., M.Kom - UMNU KEBUMEN )
Pengenalan HTML ( Bambang Sugianto, S.T., M.Kom - UMNU KEBUMEN )
 
Html power point
Html power pointHtml power point
Html power point
 
Span and Div tags in HTML
Span and Div tags in HTMLSpan and Div tags in HTML
Span and Div tags in HTML
 
Font
FontFont
Font
 
Php variables (english)
Php variables (english)Php variables (english)
Php variables (english)
 
Html tags describe in bangla
Html tags describe in banglaHtml tags describe in bangla
Html tags describe in bangla
 
Constructor and encapsulation in php
Constructor and encapsulation in phpConstructor and encapsulation in php
Constructor and encapsulation in php
 
html tags
html tagshtml tags
html tags
 
OOPS Characteristics (With Examples in PHP)
OOPS Characteristics (With Examples in PHP)OOPS Characteristics (With Examples in PHP)
OOPS Characteristics (With Examples in PHP)
 
Control Structures In Php 2
Control Structures In Php 2Control Structures In Php 2
Control Structures In Php 2
 
Html Basic Tags
Html Basic TagsHtml Basic Tags
Html Basic Tags
 
Arrays in PHP
Arrays in PHPArrays in PHP
Arrays in PHP
 
Execute MySQL query using command prompt
Execute MySQL query using command promptExecute MySQL query using command prompt
Execute MySQL query using command prompt
 
What's new in PHP 7.1
What's new in PHP 7.1What's new in PHP 7.1
What's new in PHP 7.1
 
Web topic 3 html format tags
Web topic 3  html format tagsWeb topic 3  html format tags
Web topic 3 html format tags
 
PHP Comprehensive Overview
PHP Comprehensive OverviewPHP Comprehensive Overview
PHP Comprehensive Overview
 
PHP
PHPPHP
PHP
 

Similar to Htmltag.ppt

Htmltag.ppt
Htmltag.pptHtmltag.ppt
Html TAGS
Html TAGSHtml TAGS
Html TAGS
Pranil Dukare
 
Html tag
Html tagHtml tag
Html tag
NIRMAL FELIX
 
Html
HtmlHtml
Html
HtmlHtml
Introduction to html
Introduction to htmlIntroduction to html
Introduction to html
vikasgaur31
 
Html intro
Html introHtml intro
Html intro
kalaivani.g
 
Html intro
Html introHtml intro
Html intro
kalaivani.g
 
Cascading Style Sheets
Cascading Style SheetsCascading Style Sheets
Cascading Style Sheets
Jerome Locson
 
Diva
DivaDiva
Diva
diva23
 
Prabu html
Prabu htmlPrabu html
Prabu html
Prabu Cse
 
AK html
AK  htmlAK  html
AK html
gauravashq
 
Html Presentation Of Web Page Making
Html Presentation Of Web Page MakingHtml Presentation Of Web Page Making
Html Presentation Of Web Page Making
Sandeep Supal
 
Html
HtmlHtml
Html
HtmlHtml
Tags in html
Tags in htmlTags in html
Html tutorial
Html tutorialHtml tutorial
Html tutorial
mohamed ashraf
 
HTML Fundamentals
HTML FundamentalsHTML Fundamentals
HTML Fundamentals
Doncho Minkov
 
Html part2 (1)
Html part2 (1)Html part2 (1)
Html part2 (1)
suba_sqa
 
Html part2
Html part2Html part2
Html part2
suba_sqa
 

Similar to Htmltag.ppt (20)

Htmltag.ppt
Htmltag.pptHtmltag.ppt
Htmltag.ppt
 
Html TAGS
Html TAGSHtml TAGS
Html TAGS
 
Html tag
Html tagHtml tag
Html tag
 
Html
HtmlHtml
Html
 
Html
HtmlHtml
Html
 
Introduction to html
Introduction to htmlIntroduction to html
Introduction to html
 
Html intro
Html introHtml intro
Html intro
 
Html intro
Html introHtml intro
Html intro
 
Cascading Style Sheets
Cascading Style SheetsCascading Style Sheets
Cascading Style Sheets
 
Diva
DivaDiva
Diva
 
Prabu html
Prabu htmlPrabu html
Prabu html
 
AK html
AK  htmlAK  html
AK html
 
Html Presentation Of Web Page Making
Html Presentation Of Web Page MakingHtml Presentation Of Web Page Making
Html Presentation Of Web Page Making
 
Html
HtmlHtml
Html
 
Html
HtmlHtml
Html
 
Tags in html
Tags in htmlTags in html
Tags in html
 
Html tutorial
Html tutorialHtml tutorial
Html tutorial
 
HTML Fundamentals
HTML FundamentalsHTML Fundamentals
HTML Fundamentals
 
Html part2 (1)
Html part2 (1)Html part2 (1)
Html part2 (1)
 
Html part2
Html part2Html part2
Html part2
 

More from anandha ganesh

Ajax
AjaxAjax
Php
PhpPhp
CSS
CSSCSS
My sql
 My sql My sql
Appache.ppt
Appache.pptAppache.ppt
Appache.ppt
anandha ganesh
 
Anandha ganesh linux1.ppt
Anandha ganesh linux1.pptAnandha ganesh linux1.ppt
Anandha ganesh linux1.ppt
anandha ganesh
 

More from anandha ganesh (6)

Ajax
AjaxAjax
Ajax
 
Php
PhpPhp
Php
 
CSS
CSSCSS
CSS
 
My sql
 My sql My sql
My sql
 
Appache.ppt
Appache.pptAppache.ppt
Appache.ppt
 
Anandha ganesh linux1.ppt
Anandha ganesh linux1.pptAnandha ganesh linux1.ppt
Anandha ganesh linux1.ppt
 

Recently uploaded

QR Secure: A Hybrid Approach Using Machine Learning and Security Validation F...
QR Secure: A Hybrid Approach Using Machine Learning and Security Validation F...QR Secure: A Hybrid Approach Using Machine Learning and Security Validation F...
QR Secure: A Hybrid Approach Using Machine Learning and Security Validation F...
AlexanderRichford
 
Guidelines for Effective Data Visualization
Guidelines for Effective Data VisualizationGuidelines for Effective Data Visualization
Guidelines for Effective Data Visualization
UmmeSalmaM1
 
ScyllaDB Tablets: Rethinking Replication
ScyllaDB Tablets: Rethinking ReplicationScyllaDB Tablets: Rethinking Replication
ScyllaDB Tablets: Rethinking Replication
ScyllaDB
 
Communications Mining Series - Zero to Hero - Session 2
Communications Mining Series - Zero to Hero - Session 2Communications Mining Series - Zero to Hero - Session 2
Communications Mining Series - Zero to Hero - Session 2
DianaGray10
 
Radically Outperforming DynamoDB @ Digital Turbine with SADA and Google Cloud
Radically Outperforming DynamoDB @ Digital Turbine with SADA and Google CloudRadically Outperforming DynamoDB @ Digital Turbine with SADA and Google Cloud
Radically Outperforming DynamoDB @ Digital Turbine with SADA and Google Cloud
ScyllaDB
 
Facilitation Skills - When to Use and Why.pptx
Facilitation Skills - When to Use and Why.pptxFacilitation Skills - When to Use and Why.pptx
Facilitation Skills - When to Use and Why.pptx
Knoldus Inc.
 
Building a Semantic Layer of your Data Platform
Building a Semantic Layer of your Data PlatformBuilding a Semantic Layer of your Data Platform
Building a Semantic Layer of your Data Platform
Enterprise Knowledge
 
LF Energy Webinar: Carbon Data Specifications: Mechanisms to Improve Data Acc...
LF Energy Webinar: Carbon Data Specifications: Mechanisms to Improve Data Acc...LF Energy Webinar: Carbon Data Specifications: Mechanisms to Improve Data Acc...
LF Energy Webinar: Carbon Data Specifications: Mechanisms to Improve Data Acc...
DanBrown980551
 
ScyllaDB Real-Time Event Processing with CDC
ScyllaDB Real-Time Event Processing with CDCScyllaDB Real-Time Event Processing with CDC
ScyllaDB Real-Time Event Processing with CDC
ScyllaDB
 
From NCSA to the National Research Platform
From NCSA to the National Research PlatformFrom NCSA to the National Research Platform
From NCSA to the National Research Platform
Larry Smarr
 
Lee Barnes - Path to Becoming an Effective Test Automation Engineer.pdf
Lee Barnes - Path to Becoming an Effective Test Automation Engineer.pdfLee Barnes - Path to Becoming an Effective Test Automation Engineer.pdf
Lee Barnes - Path to Becoming an Effective Test Automation Engineer.pdf
leebarnesutopia
 
TrustArc Webinar - Your Guide for Smooth Cross-Border Data Transfers and Glob...
TrustArc Webinar - Your Guide for Smooth Cross-Border Data Transfers and Glob...TrustArc Webinar - Your Guide for Smooth Cross-Border Data Transfers and Glob...
TrustArc Webinar - Your Guide for Smooth Cross-Border Data Transfers and Glob...
TrustArc
 
CTO Insights: Steering a High-Stakes Database Migration
CTO Insights: Steering a High-Stakes Database MigrationCTO Insights: Steering a High-Stakes Database Migration
CTO Insights: Steering a High-Stakes Database Migration
ScyllaDB
 
Mutation Testing for Task-Oriented Chatbots
Mutation Testing for Task-Oriented ChatbotsMutation Testing for Task-Oriented Chatbots
Mutation Testing for Task-Oriented Chatbots
Pablo Gómez Abajo
 
Containers & AI - Beauty and the Beast!?!
Containers & AI - Beauty and the Beast!?!Containers & AI - Beauty and the Beast!?!
Containers & AI - Beauty and the Beast!?!
Tobias Schneck
 
Northern Engraving | Modern Metal Trim, Nameplates and Appliance Panels
Northern Engraving | Modern Metal Trim, Nameplates and Appliance PanelsNorthern Engraving | Modern Metal Trim, Nameplates and Appliance Panels
Northern Engraving | Modern Metal Trim, Nameplates and Appliance Panels
Northern Engraving
 
Introducing BoxLang : A new JVM language for productivity and modularity!
Introducing BoxLang : A new JVM language for productivity and modularity!Introducing BoxLang : A new JVM language for productivity and modularity!
Introducing BoxLang : A new JVM language for productivity and modularity!
Ortus Solutions, Corp
 
ThousandEyes New Product Features and Release Highlights: June 2024
ThousandEyes New Product Features and Release Highlights: June 2024ThousandEyes New Product Features and Release Highlights: June 2024
ThousandEyes New Product Features and Release Highlights: June 2024
ThousandEyes
 
Chapter 5 - Managing Test Activities V4.0
Chapter 5 - Managing Test Activities V4.0Chapter 5 - Managing Test Activities V4.0
Chapter 5 - Managing Test Activities V4.0
Neeraj Kumar Singh
 
New ThousandEyes Product Features and Release Highlights: June 2024
New ThousandEyes Product Features and Release Highlights: June 2024New ThousandEyes Product Features and Release Highlights: June 2024
New ThousandEyes Product Features and Release Highlights: June 2024
ThousandEyes
 

Recently uploaded (20)

QR Secure: A Hybrid Approach Using Machine Learning and Security Validation F...
QR Secure: A Hybrid Approach Using Machine Learning and Security Validation F...QR Secure: A Hybrid Approach Using Machine Learning and Security Validation F...
QR Secure: A Hybrid Approach Using Machine Learning and Security Validation F...
 
Guidelines for Effective Data Visualization
Guidelines for Effective Data VisualizationGuidelines for Effective Data Visualization
Guidelines for Effective Data Visualization
 
ScyllaDB Tablets: Rethinking Replication
ScyllaDB Tablets: Rethinking ReplicationScyllaDB Tablets: Rethinking Replication
ScyllaDB Tablets: Rethinking Replication
 
Communications Mining Series - Zero to Hero - Session 2
Communications Mining Series - Zero to Hero - Session 2Communications Mining Series - Zero to Hero - Session 2
Communications Mining Series - Zero to Hero - Session 2
 
Radically Outperforming DynamoDB @ Digital Turbine with SADA and Google Cloud
Radically Outperforming DynamoDB @ Digital Turbine with SADA and Google CloudRadically Outperforming DynamoDB @ Digital Turbine with SADA and Google Cloud
Radically Outperforming DynamoDB @ Digital Turbine with SADA and Google Cloud
 
Facilitation Skills - When to Use and Why.pptx
Facilitation Skills - When to Use and Why.pptxFacilitation Skills - When to Use and Why.pptx
Facilitation Skills - When to Use and Why.pptx
 
Building a Semantic Layer of your Data Platform
Building a Semantic Layer of your Data PlatformBuilding a Semantic Layer of your Data Platform
Building a Semantic Layer of your Data Platform
 
LF Energy Webinar: Carbon Data Specifications: Mechanisms to Improve Data Acc...
LF Energy Webinar: Carbon Data Specifications: Mechanisms to Improve Data Acc...LF Energy Webinar: Carbon Data Specifications: Mechanisms to Improve Data Acc...
LF Energy Webinar: Carbon Data Specifications: Mechanisms to Improve Data Acc...
 
ScyllaDB Real-Time Event Processing with CDC
ScyllaDB Real-Time Event Processing with CDCScyllaDB Real-Time Event Processing with CDC
ScyllaDB Real-Time Event Processing with CDC
 
From NCSA to the National Research Platform
From NCSA to the National Research PlatformFrom NCSA to the National Research Platform
From NCSA to the National Research Platform
 
Lee Barnes - Path to Becoming an Effective Test Automation Engineer.pdf
Lee Barnes - Path to Becoming an Effective Test Automation Engineer.pdfLee Barnes - Path to Becoming an Effective Test Automation Engineer.pdf
Lee Barnes - Path to Becoming an Effective Test Automation Engineer.pdf
 
TrustArc Webinar - Your Guide for Smooth Cross-Border Data Transfers and Glob...
TrustArc Webinar - Your Guide for Smooth Cross-Border Data Transfers and Glob...TrustArc Webinar - Your Guide for Smooth Cross-Border Data Transfers and Glob...
TrustArc Webinar - Your Guide for Smooth Cross-Border Data Transfers and Glob...
 
CTO Insights: Steering a High-Stakes Database Migration
CTO Insights: Steering a High-Stakes Database MigrationCTO Insights: Steering a High-Stakes Database Migration
CTO Insights: Steering a High-Stakes Database Migration
 
Mutation Testing for Task-Oriented Chatbots
Mutation Testing for Task-Oriented ChatbotsMutation Testing for Task-Oriented Chatbots
Mutation Testing for Task-Oriented Chatbots
 
Containers & AI - Beauty and the Beast!?!
Containers & AI - Beauty and the Beast!?!Containers & AI - Beauty and the Beast!?!
Containers & AI - Beauty and the Beast!?!
 
Northern Engraving | Modern Metal Trim, Nameplates and Appliance Panels
Northern Engraving | Modern Metal Trim, Nameplates and Appliance PanelsNorthern Engraving | Modern Metal Trim, Nameplates and Appliance Panels
Northern Engraving | Modern Metal Trim, Nameplates and Appliance Panels
 
Introducing BoxLang : A new JVM language for productivity and modularity!
Introducing BoxLang : A new JVM language for productivity and modularity!Introducing BoxLang : A new JVM language for productivity and modularity!
Introducing BoxLang : A new JVM language for productivity and modularity!
 
ThousandEyes New Product Features and Release Highlights: June 2024
ThousandEyes New Product Features and Release Highlights: June 2024ThousandEyes New Product Features and Release Highlights: June 2024
ThousandEyes New Product Features and Release Highlights: June 2024
 
Chapter 5 - Managing Test Activities V4.0
Chapter 5 - Managing Test Activities V4.0Chapter 5 - Managing Test Activities V4.0
Chapter 5 - Managing Test Activities V4.0
 
New ThousandEyes Product Features and Release Highlights: June 2024
New ThousandEyes Product Features and Release Highlights: June 2024New ThousandEyes Product Features and Release Highlights: June 2024
New ThousandEyes Product Features and Release Highlights: June 2024
 

Htmltag.ppt

  • 1.
  • 2.
  • 3. Basic HTML Tags   Tag Description <html> Defines an HTML document <head> Defines information about the document <title> Defines the document title <body> Defines the document's body <h1> to <h6> Defines header 1 to header 6 <p> Defines a paragraph <br> Inserts a single line break <hr> Defines a horizontal rule <!--> Defines a comment
  • 4. <html>tag This element tells a browser that this is an HTML document. This tag is defined at the top of the HTML file and at the end of file.   Format: <html> <body>..............body of HTML.............</body></html>   Example: <html> <body> this is my first page </body></html>
  • 5. <head> tag The head tag defines information about the document. The browser does not display the &quot;head information&quot; to the user. The following tags can be in the head section: <base>, <link>, <meta>, <script>, <style>, and <title>. The head tag is used between <html> and <body> tags.   Format: <html> <head>.....head sections....</head><body>......body of HTML........</body></html>   Example: <html> <head><title>Basic tag</title></head>>body> this is my first page </body></html>
  • 6. <title> tag Title tag defines the title of the document which appears in the Title bar of the explorer window. Title tag is used in between <head> and </head> tag because it is title tag is section of <head> tag.   Format: <html> <head><title>Title of the Page</title></head><body>.....body of HTML......</body></html>   Example: <html> <head><title>Basic tag</title></head><body> this is my first page </body></html>
  • 7. <body> tag The body element defines the document's body. It contains all the contents of the document (like text, images, colors, graphics etc).   Format: <body bgcolor =&quot;color_name&quot; background=&quot;file_name&quot; links=&quot;color_name&quot; text=&quot;color_name&quot;>   Example: <body bgcolor =&quot;red&quot; background=&quot;c:mgky.jpg&quot; links=&quot;blue&quot; text=&quot;black&quot;>  
  • 8. <hn>...</hn> Heading Tags These tags are used to display headings in an HTML document. through these tags you can increase the size of the text. In these tags <h1> tag defines the largest header & <h6> defines smallest.   These tags are <h1> </h1>, <h2> </h2>, <h3> </h3>, <h4> </h4>, <h5> </h5>   Format: <hn>.............. text..............</hn>   Example: <h1> this is my first page </h1> or <h1 align=&quot;right&quot;>text</h1> Attribute of the <hn> Tag.
  • 9. <p>.....</p> Paragraph Tag This tag is used for creating the paragraph in the web page. It is used inside the body of file.   Format: <p>......longtext..........</p>   Example: <p> This is the test of paragraph tag........</p>   In this tag align attribute can be used.
  • 10. <br> tag The <br> tag inserts a single line break. Use the <br> tag to enter blank lines, not to separate paragraphs. This tag has no end tag.   Format text........<br> .....text   Example: This is a break <br> in the line.
  • 11. <hr> tag The <hr> tag inserts a horizontal rule. The <hr> tag has no end tag.   Format: text......<hr> ......text or text......<hr align=&quot; &quot; size=&quot; &quot; width=&quot; &quot;>.... text   Example: This is the test of the tag <hr>  
  • 12. <!--...--> Comment Tag The comment tag is used to insert a comment in the source code. A comment will be ignored by the browser. You can use comments to explain your code, which can help you when you edit the source code at a later date.   You can also store program-specific information inside comments. In this case they will not be visible for the user, but they are still available to the program. A good practice is to comment the text inside the script and style elements to prevent older browsers, that do not support scripting or styles, from showing it as plain text.   Format: <!-- add here your comments these will not be displayed -->   Example: <!-- add here your comments these will not be displayed -->
  • 13.  
  • 14. Example for basic command: <html> <head> <title>In body tag</title> </head> <body bgcolor=&quot;lightyellow&quot; text=&quot;red&quot;> In body tag, background color is defined as black and textcolor is defined as the white. <hr> <h1> this is the h1 header </h1> <h2> this is the h2header </h2> <h3> this is the h3 header </h3> <h4> this is the h4 header </h4> <h5> this is the h5 header </h5> <hr>This is the use of &quot;Break&quot; tag<br> and you will see use of more tags<br> <hr> look at the use of comment tag it is<!-- It is a comment line --> good <hr><p> This is the use of paragraph tag and you will see use of more tags </p> The effect of &quot;hr&quot; tag <br> <hr> </body> </html>
  • 15. Character Format Tags   These tags are used for the formatting of the text such as underline, bold, italic, font, size, color of the text. All these character formatting Tags are defined in the table shown below:   Char Format Tag Description <b> Displays bold text <i> Displays italic text <tt> Renders as teletype or mono spaced text <u> Displays underlined text <em> Displays emphasized text <big> Displays big text <small> Displays small text <strong> Displays strong text <sub> Displays subscripted text <sup> Displays superscripted text <bdo> Defines the direction of text display <font> Defines the font face, size, and color of text
  • 16. <b> Tag The <b> tag is used to make the text bold.   Format: <b> ................text.........</b>   <i> Tag The <i> tag displays the italic text.   Format: <i> ................text.........</i>;     <tt> Tag The <tt> tag displays the typewriter text.   Format: <tt> ................text.........</tt>  
  • 17. <u> Tag The <u> tag displays the underlined text.   Format: <u> ................text.........</u>   <em> Tag The <em> tag displays the emphasized text.   Format: <em> ................text.........</em>     <big> Tag The <big> tag displays the big text.   Format: <big> ................text.........</big>  
  • 18. <small> Tag The <small> tag displays the small text.   Format: <small> ................text.........</small>   <strong> Tag The <strong> tag displays strong text.   Format: <strong> ................text.........</strong>   <sub> Tag The <sub> tag displays text in subscripted format.   Format: <sub> ................text.........</sub>
  • 19. <sup> Tag The <sup> tag displays superscripted text.   Format: <sup> ................text.........</sup>     <bdo> Tag The <bdo> tag defines the direction of the text.   Format: <bdo> ................text.........</bdo>     <font> Tag The <font> tag defines the font, color, size of the text.   Format: <font face=&quot;font_name&quot; color=&quot;color_name&quot; size=&quot;number&quot;>........text.........</font>  
  • 20. Example: for character tag: <html>< body> <b>This text is bold</b> <br> <strong> This text is strong </strong> <br> <big> This text is big </big> <br> <em> This text is emphasized </em> <br> <i> This text is italic </i> <br> <small> This text is small </small> <br> <u> this is underlined text </u> <br> This text contains <sub> subscript </sub> <br> This text contains <sup> superscript </sup> <br> The use of font tag <font face=&quot;arial&quot; size=&quot;3&quot; color=&quot;green&quot;> this is use of font tag</font> </body> html>
  • 21.  
  • 22. Output Tags   These tags are often used to display computer/programming code. You might be surprised for &quot;how to display the text containing the spaces, line breaks, programming codes, sample text, define variable&quot;. Do not worry, because in this chapter we are going to show you how easily you can do easily.   So lets start with these tags:   Tag Description <pre> Defines preformatted text <code> Defines computer code text <tt> Defines teletype text <kbd> Defines keyboard text <var> Defines a variable <dfn> Defines a definition term <bdo> Defines the direction of text display <samp> Defines sample computer code  
  • 23. <pre>.........</pre>Tag This is preformatted text. It preserves both spaces and line breaks. The pre tag is good for displaying computer code.   Format: <pre> .....text.....</pre>   Example: <pre> for i = 1 to 10 print i next i </pre>   Output: for i = 1 to 10 print i next i
  • 24. <code> .....text ......</code> Tag This tag is also used to display the computer code. But better you use <pre> tag.   Format: <code> .....text.....</code>     <kbd>.....Keyboard Input......</kbd> Tag This tag displays the Keyboard Input.   Format: <kbd> ........ Keyboard Input......</kbd>     <tt>......text....</tt> Tag This tag displays the typewriter text.   Format: <tt> .....text.....</tt>
  • 25. <samp>....sample text...</samp> Tag This tag displays the sample text.   Format: <samp> .....sample text.....</samp>     <var> computer variable </var> This tag defines the computer variable.   Format: <var> computer variable </var>   <dfn> definition term </dfn> this tag is used for definition term.
  • 26. <html> <body> <code>Computer code</code> <br> <kbd>Keyboard input</kbd> <br> <tt>Teletype text</tt> <br> <samp>Sample text</samp> <br> <var>Computer variable</var> <br> <p> <b>Note:</b> These tags are often used to display computer/programming code. </p> </body> </html>
  • 27.  
  翻译: