SlideShare una empresa de Scribd logo
1 de 15
FORMATTING TAGS
Lakshmi.S, MCA.,M.Phil.,
Assistant Professor, Dept. of Computer
Science,
Sri Adi Chunchanagiri Women’s
College, Cumbum.
Dept. of Computer Science, Sri Adi Chunchanagiri Womens College, Cumbum.
HTML Formatting : HTML Formatting is a process of formatting text
for better look and feel. There are many formatting tags in HTML. Thes
e tags are used to make text bold, italicized, or underlined.
In HTML , the formatting tags are divided into two categories:
Physical tag: These tags are used to provide the visual appearance
to the text.
Logical tag: These tags are used to add some logical or semantic value
to the text.
HTML Formatting
PHYSICAL TAGS
BOLD Tag: <b> : Contains text to be rendered in bold.
The HTML <b> element is a physical tag which display text in bold
font, without any logical importance. If you write anything within <b>............</b>
element, is shown in bold letters.
For Ex:
<html>
<head>
<title>Bold the Text </title>
</head>
<body>
<b>Sri Adi Chunchanagiri Women’s College,Cumbum.</b>
</body>
</html>
HTML Italicize and Emphasize:
The HTML <i> element is physical element, which display the enclosed
content in italic font, without any added importance. If you write anything within
<i>............</i> element, is shown in italic letters.
The <em> element displays the text in italics along with semantic
importance i.e. it emphasizes the text.
For Ex:
<html>
<head>
<title>Italic</title>
</head>
<body>
<i>Sri Adi Chunchanagiri Women’s College,Cumbum.</i>
<p><em>Sri Adi Chunchanagiri Women’s College,Cumbum.</em></p>
</body>
</html>
UNDERLINE Tag : <U>: Contains text to be rendered with an underline.
If you write anything within <u>.....</u> element, is shown in underlined text.
For Ex:
<html>
<head>
<title>Underline</title>
</head>
<body>
<p>Sri Adi Chunchanagiri Womens College, Cumbum.</p>
<p><u>Sri Adi Chunchanagiri Womens College, Cumbum.</u></p>
</body>
</html>
STRIKE THROUGH Tag: <strike>: Contains text to be marked with a strike
through character.
Anything written within <strike>.........</strike> (or) <s>……</s> element
is displayed with strikethrough. It is a thin line which cross the statement. As well as
the <del> element is also used to display a deleted text on the web-page, done
by striking through the text,
The <ins> element is used to display the inserted text,
shown underlined.
For Ex:
<html>
<head>
<title>Strike through</title>
</head>
<body>
<p>Sri Adi Chunchanagiri Women’s College, Cumbum.</p>
<p><strike>Sri Adi Chunchanagiri Women’s College, Cumbum.</strike></p>
<p><s>Sri Adi Chunchanagiri Women’s College, Cumbum.</s></p>
<p><del>Sri Adi Chunchanagiri Women’s College, Cumbum.</del></p>
<p><ins>Sri Adi Chunchanagiri Women’s College, Cumbum.</ins></p>
</body>
</html>
BIG Tag :
<BIG>: If you want to put your font size larger than the rest of the text
then put the content within <big>.........</big>. It increase one font size larger than
the previous one.
For Ex :
<html>
<head>
<title>Big Tag</title>
</head>
<body>
<p><big>HTML Program</big></p>
</body>
</html>
SMALL Tag :
<SMALL>: If you want to put your font size smaller than the
rest of the text then put the content within <small>.........</small>tag.
It reduces one font size than the previous one.
For Ex :
<html>
<head>
<title>Small Tag</title>
</head>
<body>
<p><small>HTML Program</small></p>
</body>
</html>
SUPERSCRIPT Tag : <sup>- It displays the content in superscript.
<SUP>: If you put the content within <sup>..............</sup> element, is
shown in superscript; means it is displayed half a character's height above the
other characters.
SUBSCRIPT Tag : <sub>- It displays the content in subscript.
<SUB> : If you put the content within <sub>..............</sub> element, is
shown in subscript ; means it is displayed half a character's height below the
other characters.
For EX :
<html>
<head>
<title>Superscript & Subscript</title>
</head>
<body>
<p><small>Superscript <sup>E-learning!</sup></small></p>
<p><small>Subscript<sub>E-learning!</sub></small></p>
</body>
</html>
MARK or HIGHLIGHT the Text :
<mark> : If you want to mark or highlight a text, you should write
the content within <mark>.........</mark> tag.
For Ex :
<html>
<head>
<title>Highlight or Mark the Text</title>
</head>
<body>
<p><mark>Department of Computer Science</mark></p>
</body>
</html>
PARAGRAPH Tag : The <P> tag defines a paragraph of text.
Each paragraph starts with <P> and ends with the corresponding </P>
tag.
For Ex :
<html>
<head>
<title>Paragraph Tag</title>
</head>
<body>
<p>Hello, Welcome to ALL,This is Paragraph1</p>
<p>Hello, Welcome to ALL ,This is Paragraph2</p>
</body>
</html>
Break the Line Tag :
The <BR> tag is a standalone Tag. It will be inserts a line break
into a text flow.
For Ex :
<html>
<head>
<title>Break Tag</title>
</head>
<body>
<p>Hello<br>Welcome to ALL<br>This is a line break</p>
</body>
</html>
Horizontal Rule Tag :
The <HR> tag is used to place horizontal line on page.
Attributes :
Align : aligns the line on the browser screen to left, center or right.
Size : changes the size of the rule
Width : sets the width of the rule.
For Ex :
<html>
<head>
<title>Horizontal Line Tag</title>
</head>
<body>
<p> Sri Adi Chunchanagiri Womens College<br> Department of Computer Science
<br> Cumbum<br></p>
<hr> <p>Sri Adi Chunchanagiri Womens College<br> Department of Commerce
<br> Cumbum<br> </p>
<hr><p> Sri Adi Chunchanagiri Womens College<br> Department of IT <br>
Cumbum<br> </p>
<hr>
</body>
THANK YOU

Más contenido relacionado

La actualidad más candente

La actualidad más candente (20)

HTML (Web) basics for a beginner
HTML (Web) basics for a beginnerHTML (Web) basics for a beginner
HTML (Web) basics for a beginner
 
Basic html structure
Basic html structureBasic html structure
Basic html structure
 
Introduction to html
Introduction to htmlIntroduction to html
Introduction to html
 
Html, CSS & Web Designing
Html, CSS & Web DesigningHtml, CSS & Web Designing
Html, CSS & Web Designing
 
Lecture-3: Introduction to html - Basic Structure & Block Building
Lecture-3: Introduction to html - Basic Structure & Block BuildingLecture-3: Introduction to html - Basic Structure & Block Building
Lecture-3: Introduction to html - Basic Structure & Block Building
 
Introduction to HTML
Introduction to HTMLIntroduction to HTML
Introduction to HTML
 
Html text and formatting
Html text and formattingHtml text and formatting
Html text and formatting
 
HTML
HTMLHTML
HTML
 
Html basics
Html basicsHtml basics
Html basics
 
Learn HTML Step By Step
Learn HTML Step By StepLearn HTML Step By Step
Learn HTML Step By Step
 
Web Page Designing Using HTML
Web Page Designing Using HTMLWeb Page Designing Using HTML
Web Page Designing Using HTML
 
Html images
Html imagesHtml images
Html images
 
CSS Basics
CSS BasicsCSS Basics
CSS Basics
 
Web Development using HTML & CSS
Web Development using HTML & CSSWeb Development using HTML & CSS
Web Development using HTML & CSS
 
Html
HtmlHtml
Html
 
Introduction to Web Technology
Introduction to Web TechnologyIntroduction to Web Technology
Introduction to Web Technology
 
HTML Fundamentals
HTML FundamentalsHTML Fundamentals
HTML Fundamentals
 
HTML Tags
HTML TagsHTML Tags
HTML Tags
 
HTML: Tables and Forms
HTML: Tables and FormsHTML: Tables and Forms
HTML: Tables and Forms
 
Introduction to HTML
Introduction to HTMLIntroduction to HTML
Introduction to HTML
 

Similar a Formatting tags

HSC INFORMATION TECHNOLOGY CHAPTER 1 ADVANCED WEB DESIGNING PART I.pdf
HSC INFORMATION TECHNOLOGY CHAPTER 1 ADVANCED WEB DESIGNING PART I.pdfHSC INFORMATION TECHNOLOGY CHAPTER 1 ADVANCED WEB DESIGNING PART I.pdf
HSC INFORMATION TECHNOLOGY CHAPTER 1 ADVANCED WEB DESIGNING PART I.pdfAAFREEN SHAIKH
 
Lesson plan: HTML Formatting Texts and Paragraphs
Lesson plan: HTML Formatting Texts and ParagraphsLesson plan: HTML Formatting Texts and Paragraphs
Lesson plan: HTML Formatting Texts and ParagraphsKeith Borgonia Manatad
 
Html (hypertext markup language)
Html (hypertext markup language)Html (hypertext markup language)
Html (hypertext markup language)Anuj Singh Rajput
 
Html basics-auro skills
Html basics-auro skillsHtml basics-auro skills
Html basics-auro skillsBoneyGawande
 
SDP_HTML.pptx
SDP_HTML.pptxSDP_HTML.pptx
SDP_HTML.pptxVani011
 
Sybsc cs sem 3 Web Programming unit 1
Sybsc cs sem 3 Web Programming unit 1Sybsc cs sem 3 Web Programming unit 1
Sybsc cs sem 3 Web Programming unit 1WE-IT TUTORIALS
 
Title, heading and paragraph tags
Title, heading and paragraph tagsTitle, heading and paragraph tags
Title, heading and paragraph tagsSara Corpuz
 
Html session1,2,3
Html session1,2,3Html session1,2,3
Html session1,2,3vidhi mehta
 
HTML Notes for new begginers for HTML CSS
HTML Notes for new begginers for HTML CSSHTML Notes for new begginers for HTML CSS
HTML Notes for new begginers for HTML CSSRajChauhan226834
 
Web Design Basics: HTML Essentials for begginer
Web Design Basics: HTML Essentials for begginerWeb Design Basics: HTML Essentials for begginer
Web Design Basics: HTML Essentials for begginerRajChauhan226834
 
Html update1(30 8-2009)
Html update1(30 8-2009)Html update1(30 8-2009)
Html update1(30 8-2009)himankgupta31
 

Similar a Formatting tags (20)

TagsL1.pptx
TagsL1.pptxTagsL1.pptx
TagsL1.pptx
 
Introduction to HTML
Introduction to HTML Introduction to HTML
Introduction to HTML
 
HSC INFORMATION TECHNOLOGY CHAPTER 1 ADVANCED WEB DESIGNING PART I.pdf
HSC INFORMATION TECHNOLOGY CHAPTER 1 ADVANCED WEB DESIGNING PART I.pdfHSC INFORMATION TECHNOLOGY CHAPTER 1 ADVANCED WEB DESIGNING PART I.pdf
HSC INFORMATION TECHNOLOGY CHAPTER 1 ADVANCED WEB DESIGNING PART I.pdf
 
Lesson plan htmltextformattingtag
Lesson plan htmltextformattingtagLesson plan htmltextformattingtag
Lesson plan htmltextformattingtag
 
Lesson plan: HTML Formatting Texts and Paragraphs
Lesson plan: HTML Formatting Texts and ParagraphsLesson plan: HTML Formatting Texts and Paragraphs
Lesson plan: HTML Formatting Texts and Paragraphs
 
Html
HtmlHtml
Html
 
Html (hypertext markup language)
Html (hypertext markup language)Html (hypertext markup language)
Html (hypertext markup language)
 
Learn HTML Easier
Learn HTML EasierLearn HTML Easier
Learn HTML Easier
 
Html basics-auro skills
Html basics-auro skillsHtml basics-auro skills
Html basics-auro skills
 
SDP_HTML.pptx
SDP_HTML.pptxSDP_HTML.pptx
SDP_HTML.pptx
 
Sybsc cs sem 3 Web Programming unit 1
Sybsc cs sem 3 Web Programming unit 1Sybsc cs sem 3 Web Programming unit 1
Sybsc cs sem 3 Web Programming unit 1
 
WEB DESIGNING.pdf
WEB DESIGNING.pdfWEB DESIGNING.pdf
WEB DESIGNING.pdf
 
Web designing
Web designingWeb designing
Web designing
 
Title, heading and paragraph tags
Title, heading and paragraph tagsTitle, heading and paragraph tags
Title, heading and paragraph tags
 
Intodcution to Html
Intodcution to HtmlIntodcution to Html
Intodcution to Html
 
Html session1,2,3
Html session1,2,3Html session1,2,3
Html session1,2,3
 
HTML/HTML5
HTML/HTML5HTML/HTML5
HTML/HTML5
 
HTML Notes for new begginers for HTML CSS
HTML Notes for new begginers for HTML CSSHTML Notes for new begginers for HTML CSS
HTML Notes for new begginers for HTML CSS
 
Web Design Basics: HTML Essentials for begginer
Web Design Basics: HTML Essentials for begginerWeb Design Basics: HTML Essentials for begginer
Web Design Basics: HTML Essentials for begginer
 
Html update1(30 8-2009)
Html update1(30 8-2009)Html update1(30 8-2009)
Html update1(30 8-2009)
 

Más de LakshmiSamivel

Greedy Algorithm for Computer Science.ppt
Greedy Algorithm for Computer Science.pptGreedy Algorithm for Computer Science.ppt
Greedy Algorithm for Computer Science.pptLakshmiSamivel
 
General methodin Data Structure for UG.pptx
General methodin Data Structure for UG.pptxGeneral methodin Data Structure for UG.pptx
General methodin Data Structure for UG.pptxLakshmiSamivel
 
DIVIDE AND CONQUERMETHOD IN DATASTRUCTURE.pptx
DIVIDE AND CONQUERMETHOD IN DATASTRUCTURE.pptxDIVIDE AND CONQUERMETHOD IN DATASTRUCTURE.pptx
DIVIDE AND CONQUERMETHOD IN DATASTRUCTURE.pptxLakshmiSamivel
 
DataSructure-Time and Space Complexity.pptx
DataSructure-Time and Space Complexity.pptxDataSructure-Time and Space Complexity.pptx
DataSructure-Time and Space Complexity.pptxLakshmiSamivel
 
Basic Queue Operation in DataStructure.pptx
Basic Queue Operation in DataStructure.pptxBasic Queue Operation in DataStructure.pptx
Basic Queue Operation in DataStructure.pptxLakshmiSamivel
 
Classification of datastructure.ppt
Classification of datastructure.pptClassification of datastructure.ppt
Classification of datastructure.pptLakshmiSamivel
 
Computer network notes
Computer network notesComputer network notes
Computer network notesLakshmiSamivel
 

Más de LakshmiSamivel (15)

Greedy Algorithm for Computer Science.ppt
Greedy Algorithm for Computer Science.pptGreedy Algorithm for Computer Science.ppt
Greedy Algorithm for Computer Science.ppt
 
General methodin Data Structure for UG.pptx
General methodin Data Structure for UG.pptxGeneral methodin Data Structure for UG.pptx
General methodin Data Structure for UG.pptx
 
DIVIDE AND CONQUERMETHOD IN DATASTRUCTURE.pptx
DIVIDE AND CONQUERMETHOD IN DATASTRUCTURE.pptxDIVIDE AND CONQUERMETHOD IN DATASTRUCTURE.pptx
DIVIDE AND CONQUERMETHOD IN DATASTRUCTURE.pptx
 
DataSructure-Time and Space Complexity.pptx
DataSructure-Time and Space Complexity.pptxDataSructure-Time and Space Complexity.pptx
DataSructure-Time and Space Complexity.pptx
 
Basic Queue Operation in DataStructure.pptx
Basic Queue Operation in DataStructure.pptxBasic Queue Operation in DataStructure.pptx
Basic Queue Operation in DataStructure.pptx
 
Presentation DM.pptx
Presentation DM.pptxPresentation DM.pptx
Presentation DM.pptx
 
Dos.pptx
Dos.pptxDos.pptx
Dos.pptx
 
Classification of datastructure.ppt
Classification of datastructure.pptClassification of datastructure.ppt
Classification of datastructure.ppt
 
Top down parsing
Top down parsingTop down parsing
Top down parsing
 
Semaphore
Semaphore Semaphore
Semaphore
 
Firewall ppt
Firewall pptFirewall ppt
Firewall ppt
 
View
ViewView
View
 
Procedures andcursors
Procedures andcursorsProcedures andcursors
Procedures andcursors
 
Computer network notes
Computer network notesComputer network notes
Computer network notes
 
OsI reference model
OsI reference modelOsI reference model
OsI reference model
 

Último

Micromeritics - Fundamental and Derived Properties of Powders
Micromeritics - Fundamental and Derived Properties of PowdersMicromeritics - Fundamental and Derived Properties of Powders
Micromeritics - Fundamental and Derived Properties of PowdersChitralekhaTherkar
 
Solving Puzzles Benefits Everyone (English).pptx
Solving Puzzles Benefits Everyone (English).pptxSolving Puzzles Benefits Everyone (English).pptx
Solving Puzzles Benefits Everyone (English).pptxOH TEIK BIN
 
Separation of Lanthanides/ Lanthanides and Actinides
Separation of Lanthanides/ Lanthanides and ActinidesSeparation of Lanthanides/ Lanthanides and Actinides
Separation of Lanthanides/ Lanthanides and ActinidesFatimaKhan178732
 
Sanyam Choudhary Chemistry practical.pdf
Sanyam Choudhary Chemistry practical.pdfSanyam Choudhary Chemistry practical.pdf
Sanyam Choudhary Chemistry practical.pdfsanyamsingh5019
 
Hybridoma Technology ( Production , Purification , and Application )
Hybridoma Technology  ( Production , Purification , and Application  ) Hybridoma Technology  ( Production , Purification , and Application  )
Hybridoma Technology ( Production , Purification , and Application ) Sakshi Ghasle
 
Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...
Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...
Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...Krashi Coaching
 
Mastering the Unannounced Regulatory Inspection
Mastering the Unannounced Regulatory InspectionMastering the Unannounced Regulatory Inspection
Mastering the Unannounced Regulatory InspectionSafetyChain Software
 
MENTAL STATUS EXAMINATION format.docx
MENTAL     STATUS EXAMINATION format.docxMENTAL     STATUS EXAMINATION format.docx
MENTAL STATUS EXAMINATION format.docxPoojaSen20
 
Alper Gobel In Media Res Media Component
Alper Gobel In Media Res Media ComponentAlper Gobel In Media Res Media Component
Alper Gobel In Media Res Media ComponentInMediaRes1
 
How to Make a Pirate ship Primary Education.pptx
How to Make a Pirate ship Primary Education.pptxHow to Make a Pirate ship Primary Education.pptx
How to Make a Pirate ship Primary Education.pptxmanuelaromero2013
 
Paris 2024 Olympic Geographies - an activity
Paris 2024 Olympic Geographies - an activityParis 2024 Olympic Geographies - an activity
Paris 2024 Olympic Geographies - an activityGeoBlogs
 
A Critique of the Proposed National Education Policy Reform
A Critique of the Proposed National Education Policy ReformA Critique of the Proposed National Education Policy Reform
A Critique of the Proposed National Education Policy ReformChameera Dedduwage
 
Measures of Central Tendency: Mean, Median and Mode
Measures of Central Tendency: Mean, Median and ModeMeasures of Central Tendency: Mean, Median and Mode
Measures of Central Tendency: Mean, Median and ModeThiyagu K
 
Arihant handbook biology for class 11 .pdf
Arihant handbook biology for class 11 .pdfArihant handbook biology for class 11 .pdf
Arihant handbook biology for class 11 .pdfchloefrazer622
 
Employee wellbeing at the workplace.pptx
Employee wellbeing at the workplace.pptxEmployee wellbeing at the workplace.pptx
Employee wellbeing at the workplace.pptxNirmalaLoungPoorunde1
 
Software Engineering Methodologies (overview)
Software Engineering Methodologies (overview)Software Engineering Methodologies (overview)
Software Engineering Methodologies (overview)eniolaolutunde
 
Contemporary philippine arts from the regions_PPT_Module_12 [Autosaved] (1).pptx
Contemporary philippine arts from the regions_PPT_Module_12 [Autosaved] (1).pptxContemporary philippine arts from the regions_PPT_Module_12 [Autosaved] (1).pptx
Contemporary philippine arts from the regions_PPT_Module_12 [Autosaved] (1).pptxRoyAbrique
 

Último (20)

Micromeritics - Fundamental and Derived Properties of Powders
Micromeritics - Fundamental and Derived Properties of PowdersMicromeritics - Fundamental and Derived Properties of Powders
Micromeritics - Fundamental and Derived Properties of Powders
 
Solving Puzzles Benefits Everyone (English).pptx
Solving Puzzles Benefits Everyone (English).pptxSolving Puzzles Benefits Everyone (English).pptx
Solving Puzzles Benefits Everyone (English).pptx
 
Separation of Lanthanides/ Lanthanides and Actinides
Separation of Lanthanides/ Lanthanides and ActinidesSeparation of Lanthanides/ Lanthanides and Actinides
Separation of Lanthanides/ Lanthanides and Actinides
 
Sanyam Choudhary Chemistry practical.pdf
Sanyam Choudhary Chemistry practical.pdfSanyam Choudhary Chemistry practical.pdf
Sanyam Choudhary Chemistry practical.pdf
 
Hybridoma Technology ( Production , Purification , and Application )
Hybridoma Technology  ( Production , Purification , and Application  ) Hybridoma Technology  ( Production , Purification , and Application  )
Hybridoma Technology ( Production , Purification , and Application )
 
Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...
Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...
Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...
 
Código Creativo y Arte de Software | Unidad 1
Código Creativo y Arte de Software | Unidad 1Código Creativo y Arte de Software | Unidad 1
Código Creativo y Arte de Software | Unidad 1
 
Mastering the Unannounced Regulatory Inspection
Mastering the Unannounced Regulatory InspectionMastering the Unannounced Regulatory Inspection
Mastering the Unannounced Regulatory Inspection
 
MENTAL STATUS EXAMINATION format.docx
MENTAL     STATUS EXAMINATION format.docxMENTAL     STATUS EXAMINATION format.docx
MENTAL STATUS EXAMINATION format.docx
 
Alper Gobel In Media Res Media Component
Alper Gobel In Media Res Media ComponentAlper Gobel In Media Res Media Component
Alper Gobel In Media Res Media Component
 
How to Make a Pirate ship Primary Education.pptx
How to Make a Pirate ship Primary Education.pptxHow to Make a Pirate ship Primary Education.pptx
How to Make a Pirate ship Primary Education.pptx
 
Paris 2024 Olympic Geographies - an activity
Paris 2024 Olympic Geographies - an activityParis 2024 Olympic Geographies - an activity
Paris 2024 Olympic Geographies - an activity
 
Staff of Color (SOC) Retention Efforts DDSD
Staff of Color (SOC) Retention Efforts DDSDStaff of Color (SOC) Retention Efforts DDSD
Staff of Color (SOC) Retention Efforts DDSD
 
A Critique of the Proposed National Education Policy Reform
A Critique of the Proposed National Education Policy ReformA Critique of the Proposed National Education Policy Reform
A Critique of the Proposed National Education Policy Reform
 
Measures of Central Tendency: Mean, Median and Mode
Measures of Central Tendency: Mean, Median and ModeMeasures of Central Tendency: Mean, Median and Mode
Measures of Central Tendency: Mean, Median and Mode
 
Model Call Girl in Tilak Nagar Delhi reach out to us at 🔝9953056974🔝
Model Call Girl in Tilak Nagar Delhi reach out to us at 🔝9953056974🔝Model Call Girl in Tilak Nagar Delhi reach out to us at 🔝9953056974🔝
Model Call Girl in Tilak Nagar Delhi reach out to us at 🔝9953056974🔝
 
Arihant handbook biology for class 11 .pdf
Arihant handbook biology for class 11 .pdfArihant handbook biology for class 11 .pdf
Arihant handbook biology for class 11 .pdf
 
Employee wellbeing at the workplace.pptx
Employee wellbeing at the workplace.pptxEmployee wellbeing at the workplace.pptx
Employee wellbeing at the workplace.pptx
 
Software Engineering Methodologies (overview)
Software Engineering Methodologies (overview)Software Engineering Methodologies (overview)
Software Engineering Methodologies (overview)
 
Contemporary philippine arts from the regions_PPT_Module_12 [Autosaved] (1).pptx
Contemporary philippine arts from the regions_PPT_Module_12 [Autosaved] (1).pptxContemporary philippine arts from the regions_PPT_Module_12 [Autosaved] (1).pptx
Contemporary philippine arts from the regions_PPT_Module_12 [Autosaved] (1).pptx
 

Formatting tags

  • 1. FORMATTING TAGS Lakshmi.S, MCA.,M.Phil., Assistant Professor, Dept. of Computer Science, Sri Adi Chunchanagiri Women’s College, Cumbum. Dept. of Computer Science, Sri Adi Chunchanagiri Womens College, Cumbum.
  • 2. HTML Formatting : HTML Formatting is a process of formatting text for better look and feel. There are many formatting tags in HTML. Thes e tags are used to make text bold, italicized, or underlined. In HTML , the formatting tags are divided into two categories: Physical tag: These tags are used to provide the visual appearance to the text. Logical tag: These tags are used to add some logical or semantic value to the text. HTML Formatting
  • 3. PHYSICAL TAGS BOLD Tag: <b> : Contains text to be rendered in bold. The HTML <b> element is a physical tag which display text in bold font, without any logical importance. If you write anything within <b>............</b> element, is shown in bold letters. For Ex: <html> <head> <title>Bold the Text </title> </head> <body> <b>Sri Adi Chunchanagiri Women’s College,Cumbum.</b> </body> </html>
  • 4. HTML Italicize and Emphasize: The HTML <i> element is physical element, which display the enclosed content in italic font, without any added importance. If you write anything within <i>............</i> element, is shown in italic letters. The <em> element displays the text in italics along with semantic importance i.e. it emphasizes the text. For Ex: <html> <head> <title>Italic</title> </head> <body> <i>Sri Adi Chunchanagiri Women’s College,Cumbum.</i> <p><em>Sri Adi Chunchanagiri Women’s College,Cumbum.</em></p> </body> </html>
  • 5. UNDERLINE Tag : <U>: Contains text to be rendered with an underline. If you write anything within <u>.....</u> element, is shown in underlined text. For Ex: <html> <head> <title>Underline</title> </head> <body> <p>Sri Adi Chunchanagiri Womens College, Cumbum.</p> <p><u>Sri Adi Chunchanagiri Womens College, Cumbum.</u></p> </body> </html>
  • 6. STRIKE THROUGH Tag: <strike>: Contains text to be marked with a strike through character. Anything written within <strike>.........</strike> (or) <s>……</s> element is displayed with strikethrough. It is a thin line which cross the statement. As well as the <del> element is also used to display a deleted text on the web-page, done by striking through the text, The <ins> element is used to display the inserted text, shown underlined. For Ex: <html> <head> <title>Strike through</title> </head> <body> <p>Sri Adi Chunchanagiri Women’s College, Cumbum.</p> <p><strike>Sri Adi Chunchanagiri Women’s College, Cumbum.</strike></p> <p><s>Sri Adi Chunchanagiri Women’s College, Cumbum.</s></p> <p><del>Sri Adi Chunchanagiri Women’s College, Cumbum.</del></p> <p><ins>Sri Adi Chunchanagiri Women’s College, Cumbum.</ins></p> </body> </html>
  • 7. BIG Tag : <BIG>: If you want to put your font size larger than the rest of the text then put the content within <big>.........</big>. It increase one font size larger than the previous one. For Ex : <html> <head> <title>Big Tag</title> </head> <body> <p><big>HTML Program</big></p> </body> </html>
  • 8. SMALL Tag : <SMALL>: If you want to put your font size smaller than the rest of the text then put the content within <small>.........</small>tag. It reduces one font size than the previous one. For Ex : <html> <head> <title>Small Tag</title> </head> <body> <p><small>HTML Program</small></p> </body> </html>
  • 9. SUPERSCRIPT Tag : <sup>- It displays the content in superscript. <SUP>: If you put the content within <sup>..............</sup> element, is shown in superscript; means it is displayed half a character's height above the other characters. SUBSCRIPT Tag : <sub>- It displays the content in subscript. <SUB> : If you put the content within <sub>..............</sub> element, is shown in subscript ; means it is displayed half a character's height below the other characters. For EX : <html> <head> <title>Superscript & Subscript</title> </head> <body> <p><small>Superscript <sup>E-learning!</sup></small></p> <p><small>Subscript<sub>E-learning!</sub></small></p> </body> </html>
  • 10. MARK or HIGHLIGHT the Text : <mark> : If you want to mark or highlight a text, you should write the content within <mark>.........</mark> tag. For Ex : <html> <head> <title>Highlight or Mark the Text</title> </head> <body> <p><mark>Department of Computer Science</mark></p> </body> </html>
  • 11. PARAGRAPH Tag : The <P> tag defines a paragraph of text. Each paragraph starts with <P> and ends with the corresponding </P> tag. For Ex : <html> <head> <title>Paragraph Tag</title> </head> <body> <p>Hello, Welcome to ALL,This is Paragraph1</p> <p>Hello, Welcome to ALL ,This is Paragraph2</p> </body> </html>
  • 12. Break the Line Tag : The <BR> tag is a standalone Tag. It will be inserts a line break into a text flow. For Ex : <html> <head> <title>Break Tag</title> </head> <body> <p>Hello<br>Welcome to ALL<br>This is a line break</p> </body> </html>
  • 13. Horizontal Rule Tag : The <HR> tag is used to place horizontal line on page. Attributes : Align : aligns the line on the browser screen to left, center or right. Size : changes the size of the rule Width : sets the width of the rule.
  • 14. For Ex : <html> <head> <title>Horizontal Line Tag</title> </head> <body> <p> Sri Adi Chunchanagiri Womens College<br> Department of Computer Science <br> Cumbum<br></p> <hr> <p>Sri Adi Chunchanagiri Womens College<br> Department of Commerce <br> Cumbum<br> </p> <hr><p> Sri Adi Chunchanagiri Womens College<br> Department of IT <br> Cumbum<br> </p> <hr> </body>