SlideShare a Scribd company logo
WEBPROG1 – Web Programming 1 (HTML)                                                    Prelim Period
                                                                                        Handout #2


HTML Formatting Tags
    In this lesson you will learn the basics of formatting text within an HTML. The examples below will
show you how to do many formatting functions that you have most likely seen in your word processor.


Bold, Italic and More

Code:
<p>An example of <b>Bold Text</b> </p>
<p>An example of <em>Emphasized Text</em> </p>
<p>An example of <strong>Strong Text</strong> </p>
<p>An example of <i>Italic Text</i> </p>
<p>An example of <sup>superscripted Text</sup> </p>
<p>An example of <sub>subscripted Text</sub> </p>
<p>An example of <del>struckthrough Text</del> </p>
<p>An example of <code>Computer Code Text</code> </p>

Display:

An example of Bold Text

An example of Emphasized Text


An example of Strong               Text
An example of Italic Text

An example of superscripted Text

An example of subscripted Text

An example of

An example of Computer Code Text


Line Breaks
     Line breaks are different than most of the tags we have seen so far. A line break ends the line you
are currently on and resumes on the next line. Placing <br /> within the code is the same as pressing
the return key in a word processor. Use the <br /> tag within the <address> tag.

Code:
<address>
Will Mateson<br />
Box 61<br />
Cleveland, Ohio<br />
</address>




Prepared By: RICHARD F. ORPIANO                                                           Page 1 of 6
WEBPROG1 – Web Programming 1 (HTML)                                                       Prelim Period
                                                                                           Handout #2


Display:
Will Mateson
Box 61
Cleveland, Ohio


Preformatted HTML Text
      Use the <pre> tag for any special circumstances where you wish to have the text appear exactly
as it is typed. Spaces, tabs, and line breaks will be preserved with the pre tag.

Code:
<pre>
Roses are Red,
      Violets are blue,
I may sound crazy,
      But I love you!</pre>

Display:
Roses are Red,
     Violets are blue,
I may sound crazy,
     But I love you!


HTML Horizontal Rule

      Use the <hr /> tag to display lines across the screen. Note: the horizontal rule tag the special form,
like the line break tag.

Code:
<hr />
Use
<hr /><hr />
Them
<hr />
Sparingly
<hr />
Display:
Use
Them
Sparingly




HTML - Font



Prepared By: RICHARD F. ORPIANO                                                              Page 2 of 6
WEBPROG1 – Web Programming 1 (HTML)                                                       Prelim Period
                                                                                           Handout #2

    The <font> tag is used to add style, size, and color to the text on your site. Use the size, color, and
face attributes to manipulate your fonts. Use a <basefont> tag to set all of your text to the same size,
face, and color.


Font Size
    Set the size of your font with size. The range of accepted values is from 1(smallest) to 7(largest).
The default size of a font is 3.

HTML Code:
<p><font size="5">Here is a size 5 font</font></p>

Display:

Here is a size 5 font.
Font Color
         Set the color of your font with color.

HTML Code:
<font color="#990000">This text is hexcolor #990000</font>
<font color="red">This text is red</font>

Display:

This text is hexcolor #990000

This text is red


Font Face
     Choose a different font face using any font you have installed. Be aware that if the user viewing
the page doesn't have the font installed, they will not be able to see it. Instead they will default to
Times New Roman. An option is to choose a few that are similar in appearance.

HTML Code:
<p><font face="Bookman Old Style, Book Antiqua, Garamond">This paragraph has had its
font...</font></p>

Display:

This paragraph has had its font formatted by the font tag!




Basefont - Set a Solid Base



Prepared By: RICHARD F. ORPIANO                                                             Page 3 of 6
WEBPROG1 – Web Programming 1 (HTML)                                                   Prelim Period
                                                                                       Handout #2

    With the basefont tag you will be able to set the default font for your web page. We highly
recommend specifying a basefont if you plan on using a specifying a font with HTML. Below is the
correct way to set your basefont.

HTML Code:
<html> <body>
<basefont size="2" color="green">
<p>This paragraph has had its font...</p>
<p>This paragraph has had its font...</p>
<p>This paragraph has had its font...</p>
</basefont>
</body> </html>

Display:

This paragraph has had its font formatted by the basefont tag!

This paragraph has had its font formatted by the basefont tag!

This paragraph has had its font formatted by the basefont tag!

     However, the use of basefont is deprecated, which means it may not be supported sometime
in the future. The perfectly correct way to change your sites basefont is to set it with CSS.

HTML Color - bgcolor
     The bgcolor attribute is used to control the background of an HTML element, specifically page and
table backgrounds. Bgcolor can be placed within several of the HTML tags. However, we suggest you
only use it for your page's main background (<body>) and in tables.

    The HTML to change the background color is simple:

<TAGNAME bgcolor="value">

      Quick and dirty, here is how to change the background of your web page. Just use the bgcolor
attribute in the <body> tag and you are golden.

Code:
<body bgcolor="Silver">
<p>We set the background...</p>
</body>

Display:

We set the background of the body to be silver. The body tag is where you change the pages
background. Now continue the lesson to learn more about adding background colors in your HTML!




HTML Coloring System - Color Names



Prepared By: RICHARD F. ORPIANO                                                         Page 4 of 6
WEBPROG1 – Web Programming 1 (HTML)                                                       Prelim Period
                                                                                           Handout #2

   Before diving into the bgcolor attribute, it is important to understand the coloring system used in
HTML.

     There are 3 different methods to set the background color. The simplest being the Generic terms
of colors. Examples: black, white, red, green, and blue. Generic colors are preset HTML coded colors
where the value is simply the name of each color. Here is a sample of the most widely supported
colors and their respective name values.

   Black         Gray          Silver        White
   Yellow        Lime          Aqua          Fuchsia
   Red           Green         Blue          Purple
   Maroon        Olive         Navy          Teal


HTML Coloring System - Hexadecimal
    Hexadecimals are by far the hardest to understand but usually work from browser to browser.
Here is a brief math lesson. In the decimal numbering system you have 10 possible values to choose
from. As in the number 2_6, we can choose a number between 0-9 to fill in that blank.

    The hexadecimal system is different in that it allows for 16 possible digits. But aren't there only 10
possible numbers? Yes! That is why they use the letters a-f to represent values of 10-15. Below is a
decimal -> hexadecimal reference:


Decimal        0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15
Hexadecimal 0 1 2 3 4 5 6 7 8 9 A              B   C   D   E   F


    That means the range for a hexadecimal is 0-F, as compared to decimal's 0-9. Color defined with
hex uses the first 2 digits for red, the second 2 for green, and the last 2 for blue. If we wanted to pure
green, our hexadecimal value would be #00FF00, since F is the maximum amount and we would want
red and blue values to be 0. Here is an example of hexadecimal green for a table's background:

bgcolor="#00FF00"

    The pound sign (#) simply tells the browser that the following characters are a combined
hexadecimal value. If you want to learn to use hexadecimal we suggest you experiment with making a
bunch of different tables with various hex values. To start off, use pairs like #CCFFEE and notice how
your color is changed.

     Hexadecimals are the best choice for compatible web development because of their consistency
between browsers. Even the most minor of change in color can throw your entire site out of whack, so
be sure to check your site in a number of browsers. If you want to be absolutely sure your colors will
not change, use paired hex values for color. Examples: "#0011EE", "#44HHFF", or "#117788". These
are called True Colors, since they will stay true in hue from browser to browser.




HTML Coloring System - RGB Values



Prepared By: RICHARD F. ORPIANO                                                             Page 5 of 6
WEBPROG1 – Web Programming 1 (HTML)                                                    Prelim Period
                                                                                        Handout #2

    We do not recommend that you use RGB for safe web design because non-IE browsers do not
support HTML RGB. However, if you plan on learning CSS then you should glance over this topic.

     RGB stands for Red, Green, Blue. Each can have a value from 0 (none of that color) to 255 (fully
that color). The format for RGB is - rgb(RED, GREEN, BLUE), just like the name implies. Below is an
example of RGB in use, but if you are not using a browser that supports it, do not worry, that is just
one of the problems with HTLM RGB.

bgcolor="rgb(255,255,255)"   White
bgcolor="rgb(255,0,0)"       Red
bgcolor="rgb(0,255,0)"       Green
bgcolor="rgb(0,0,255)"       Blue




Prepared By: RICHARD F. ORPIANO                                                           Page 6 of 6

More Related Content

What's hot

Css
CssCss
Class 10th FIT Practical File(HTML)
Class 10th FIT Practical File(HTML)Class 10th FIT Practical File(HTML)
Class 10th FIT Practical File(HTML)
Anushka Rai
 
HTML and ASP.NET
HTML and ASP.NETHTML and ASP.NET
HTML and ASP.NET
Padma Metta
 
Lecture 2 introduction to html
Lecture 2  introduction to htmlLecture 2  introduction to html
Lecture 2 introduction to html
palhaftab
 
Html
HtmlHtml
Html introduction
Html introductionHtml introduction
Html introduction
vishnu murthy
 
Html coding
Html codingHtml coding
Html coding
Briana VanBuskirk
 
Presentation on HTML
Presentation on HTMLPresentation on HTML
Presentation on HTML
satvirsandhu9
 
Introduction to Web Design
Introduction to Web DesignIntroduction to Web Design
Introduction to Web Designwebhostingguy
 
Html ppt computer
Html ppt computerHtml ppt computer
Html ppt computer
Anmol Pant
 
Html
HtmlHtml
An Seo’s Intro to Web Dev, HTML, CSS and JavaScript
An Seo’s Intro to Web Dev, HTML, CSS and JavaScriptAn Seo’s Intro to Web Dev, HTML, CSS and JavaScript
An Seo’s Intro to Web Dev, HTML, CSS and JavaScript
Troyfawkes
 
HTML (Web) basics for a beginner
HTML (Web) basics for a beginnerHTML (Web) basics for a beginner
HTML (Web) basics for a beginner
Jayapal Reddy Nimmakayala
 
Html formatting
Html formattingHtml formatting
Html formatting
Webtech Learning
 
Html ppt
Html pptHtml ppt
Html ppt
Ruchi Kumari
 

What's hot (20)

Css
CssCss
Css
 
Handout6 html frames
Handout6 html framesHandout6 html frames
Handout6 html frames
 
Class 10th FIT Practical File(HTML)
Class 10th FIT Practical File(HTML)Class 10th FIT Practical File(HTML)
Class 10th FIT Practical File(HTML)
 
Html ppt
Html pptHtml ppt
Html ppt
 
Html presentation
Html presentationHtml presentation
Html presentation
 
HTML and ASP.NET
HTML and ASP.NETHTML and ASP.NET
HTML and ASP.NET
 
Lecture 2 introduction to html
Lecture 2  introduction to htmlLecture 2  introduction to html
Lecture 2 introduction to html
 
Html
HtmlHtml
Html
 
Html
HtmlHtml
Html
 
Html introduction
Html introductionHtml introduction
Html introduction
 
Html coding
Html codingHtml coding
Html coding
 
Presentation on HTML
Presentation on HTMLPresentation on HTML
Presentation on HTML
 
Introduction to Web Design
Introduction to Web DesignIntroduction to Web Design
Introduction to Web Design
 
Html ppt computer
Html ppt computerHtml ppt computer
Html ppt computer
 
Html
HtmlHtml
Html
 
An Seo’s Intro to Web Dev, HTML, CSS and JavaScript
An Seo’s Intro to Web Dev, HTML, CSS and JavaScriptAn Seo’s Intro to Web Dev, HTML, CSS and JavaScript
An Seo’s Intro to Web Dev, HTML, CSS and JavaScript
 
HTML (Web) basics for a beginner
HTML (Web) basics for a beginnerHTML (Web) basics for a beginner
HTML (Web) basics for a beginner
 
Html formatting
Html formattingHtml formatting
Html formatting
 
Html example
Html exampleHtml example
Html example
 
Html ppt
Html pptHtml ppt
Html ppt
 

Viewers also liked

G.C.E A/L ICT Questions
G.C.E A/L ICT QuestionsG.C.E A/L ICT Questions
G.C.E A/L ICT Questions
Mahesh Kodituwakku
 
Final project proposal
Final project proposalFinal project proposal
Final project proposalridewan hilmi
 
Project proposal
Project proposalProject proposal
Project proposal
Jayson Patalinghug
 
Impact of Social Networking Sites on Secondary School Children
Impact of Social Networking Sites on Secondary School ChildrenImpact of Social Networking Sites on Secondary School Children
Impact of Social Networking Sites on Secondary School Children
Reeba Sara Koshy
 
Literature Review (Review of Related Literature - Research Methodology)
Literature Review (Review of Related Literature - Research Methodology)Literature Review (Review of Related Literature - Research Methodology)
Literature Review (Review of Related Literature - Research Methodology)
Dilip Barad
 
Proposal format
Proposal formatProposal format
Proposal formatMr SMAK
 
Chapter 2-Realated literature and Studies
Chapter 2-Realated literature and StudiesChapter 2-Realated literature and Studies
Chapter 2-Realated literature and Studies
Mercy Daracan
 
Effect of online social networking sites on student engagement and achievement
Effect of online social networking sites on student engagement and achievementEffect of online social networking sites on student engagement and achievement
Effect of online social networking sites on student engagement and achievement
liz99power
 
USE OF SOCIAL NETWORKS AND ITS EFFECTS ON STUDENTS
USE OF SOCIAL NETWORKS AND ITS EFFECTS ON STUDENTS USE OF SOCIAL NETWORKS AND ITS EFFECTS ON STUDENTS
USE OF SOCIAL NETWORKS AND ITS EFFECTS ON STUDENTS
Mahesh Kodituwakku
 
Review of Related Literature-Thesis Guide
Review of Related Literature-Thesis GuideReview of Related Literature-Thesis Guide
Review of Related Literature-Thesis Guide
Rachel Khan
 
10 Project Proposal Writing
10 Project Proposal Writing10 Project Proposal Writing
10 Project Proposal Writing
Tony
 
THE EFFECTS OF SOCIAL NETWORKING SITES ON THE ACADEMIC PERFORMANCE OF STUDENT...
THE EFFECTS OF SOCIAL NETWORKING SITES ON THE ACADEMIC PERFORMANCE OF STUDENT...THE EFFECTS OF SOCIAL NETWORKING SITES ON THE ACADEMIC PERFORMANCE OF STUDENT...
THE EFFECTS OF SOCIAL NETWORKING SITES ON THE ACADEMIC PERFORMANCE OF STUDENT...Kasthuripriya Nanda Kumar
 

Viewers also liked (18)

Chapter 2
Chapter 2Chapter 2
Chapter 2
 
Chapter 3
Chapter 3Chapter 3
Chapter 3
 
Questionnaire
QuestionnaireQuestionnaire
Questionnaire
 
Chapter 1
Chapter 1Chapter 1
Chapter 1
 
FORMAT IN RESEARCH PAPER
FORMAT IN RESEARCH PAPERFORMAT IN RESEARCH PAPER
FORMAT IN RESEARCH PAPER
 
G.C.E A/L ICT Questions
G.C.E A/L ICT QuestionsG.C.E A/L ICT Questions
G.C.E A/L ICT Questions
 
Final project proposal
Final project proposalFinal project proposal
Final project proposal
 
Project proposal
Project proposalProject proposal
Project proposal
 
Impact of Social Networking Sites on Secondary School Children
Impact of Social Networking Sites on Secondary School ChildrenImpact of Social Networking Sites on Secondary School Children
Impact of Social Networking Sites on Secondary School Children
 
Literature Review (Review of Related Literature - Research Methodology)
Literature Review (Review of Related Literature - Research Methodology)Literature Review (Review of Related Literature - Research Methodology)
Literature Review (Review of Related Literature - Research Methodology)
 
Proposal format
Proposal formatProposal format
Proposal format
 
Chapter 2-Realated literature and Studies
Chapter 2-Realated literature and StudiesChapter 2-Realated literature and Studies
Chapter 2-Realated literature and Studies
 
Effect of online social networking sites on student engagement and achievement
Effect of online social networking sites on student engagement and achievementEffect of online social networking sites on student engagement and achievement
Effect of online social networking sites on student engagement and achievement
 
Group 7 thesis
Group 7 thesisGroup 7 thesis
Group 7 thesis
 
USE OF SOCIAL NETWORKS AND ITS EFFECTS ON STUDENTS
USE OF SOCIAL NETWORKS AND ITS EFFECTS ON STUDENTS USE OF SOCIAL NETWORKS AND ITS EFFECTS ON STUDENTS
USE OF SOCIAL NETWORKS AND ITS EFFECTS ON STUDENTS
 
Review of Related Literature-Thesis Guide
Review of Related Literature-Thesis GuideReview of Related Literature-Thesis Guide
Review of Related Literature-Thesis Guide
 
10 Project Proposal Writing
10 Project Proposal Writing10 Project Proposal Writing
10 Project Proposal Writing
 
THE EFFECTS OF SOCIAL NETWORKING SITES ON THE ACADEMIC PERFORMANCE OF STUDENT...
THE EFFECTS OF SOCIAL NETWORKING SITES ON THE ACADEMIC PERFORMANCE OF STUDENT...THE EFFECTS OF SOCIAL NETWORKING SITES ON THE ACADEMIC PERFORMANCE OF STUDENT...
THE EFFECTS OF SOCIAL NETWORKING SITES ON THE ACADEMIC PERFORMANCE OF STUDENT...
 

Similar to Handout2 formatting tags

HTML-INTRO.pptx
HTML-INTRO.pptxHTML-INTRO.pptx
HTML-INTRO.pptx
SanjayKumarBahuguna1
 
Web Development 2 (HTML & CSS)
Web Development 2 (HTML & CSS)Web Development 2 (HTML & CSS)
Web Development 2 (HTML & CSS)
ghayour abbas
 
introduction to html.ppt
introduction to html.pptintroduction to html.ppt
introduction to html.ppt
ShubhamIngale28
 
presentation_html_ppt_1.pptx
presentation_html_ppt_1.pptxpresentation_html_ppt_1.pptx
presentation_html_ppt_1.pptx
IrfanRashid36
 
Lesson 3
Lesson 3Lesson 3
Lesson 3
Slides4Victor
 
introdution-to-html.ppt
introdution-to-html.pptintrodution-to-html.ppt
introdution-to-html.ppt
charvivij
 
week 3 slides.pptx
week 3 slides.pptxweek 3 slides.pptx
week 3 slides.pptx
AyeshaMirza24
 
Web Design Lecture2.pptx
Web Design Lecture2.pptxWeb Design Lecture2.pptx
Web Design Lecture2.pptx
MohammedNoor74
 
introdution-to-htmlppt.ppt
introdution-to-htmlppt.pptintrodution-to-htmlppt.ppt
introdution-to-htmlppt.ppt
navyar41
 
Web topic 3 html format tags
Web topic 3  html format tagsWeb topic 3  html format tags
Web topic 3 html format tagsCK Yang
 
HTML Lab ProjectTo create a simple web page you will need to use.docx
HTML Lab ProjectTo create a simple web page you will need to use.docxHTML Lab ProjectTo create a simple web page you will need to use.docx
HTML Lab ProjectTo create a simple web page you will need to use.docx
fideladallimore
 
Adding text in html
Adding text in htmlAdding text in html
Adding text in html
nobel mujuji
 
Web Development
Web DevelopmentWeb Development
Web Development
Russell Sergei Gaerlan
 
2h landing page
2h landing page 2h landing page
2h landing page
AndryRajohnson
 
HTML.pptx
HTML.pptxHTML.pptx
HTML.pptx
RiyaRane8
 
HTML Text formatting tags
HTML Text formatting tagsHTML Text formatting tags
HTML Text formatting tags
Himanshu Pathak
 
Creative Guidelines
Creative GuidelinesCreative Guidelines
Creative Guidelines
Wendy Peichel
 

Similar to Handout2 formatting tags (20)

HTML-INTRO.pptx
HTML-INTRO.pptxHTML-INTRO.pptx
HTML-INTRO.pptx
 
Web Development 2 (HTML & CSS)
Web Development 2 (HTML & CSS)Web Development 2 (HTML & CSS)
Web Development 2 (HTML & CSS)
 
introduction to html.ppt
introduction to html.pptintroduction to html.ppt
introduction to html.ppt
 
presentation_html_ppt_1.pptx
presentation_html_ppt_1.pptxpresentation_html_ppt_1.pptx
presentation_html_ppt_1.pptx
 
Lesson 3
Lesson 3Lesson 3
Lesson 3
 
introdution-to-html.ppt
introdution-to-html.pptintrodution-to-html.ppt
introdution-to-html.ppt
 
week 3 slides.pptx
week 3 slides.pptxweek 3 slides.pptx
week 3 slides.pptx
 
Web Design Lecture2.pptx
Web Design Lecture2.pptxWeb Design Lecture2.pptx
Web Design Lecture2.pptx
 
introdution-to-htmlppt.ppt
introdution-to-htmlppt.pptintrodution-to-htmlppt.ppt
introdution-to-htmlppt.ppt
 
Web topic 3 html format tags
Web topic 3  html format tagsWeb topic 3  html format tags
Web topic 3 html format tags
 
HTML Lab ProjectTo create a simple web page you will need to use.docx
HTML Lab ProjectTo create a simple web page you will need to use.docxHTML Lab ProjectTo create a simple web page you will need to use.docx
HTML Lab ProjectTo create a simple web page you will need to use.docx
 
Adding text in html
Adding text in htmlAdding text in html
Adding text in html
 
Web Development
Web DevelopmentWeb Development
Web Development
 
2h landing page
2h landing page 2h landing page
2h landing page
 
Html tutorials
Html tutorialsHtml tutorials
Html tutorials
 
Html tutorials
Html tutorialsHtml tutorials
Html tutorials
 
CSS ppt
CSS pptCSS ppt
CSS ppt
 
HTML.pptx
HTML.pptxHTML.pptx
HTML.pptx
 
HTML Text formatting tags
HTML Text formatting tagsHTML Text formatting tags
HTML Text formatting tags
 
Creative Guidelines
Creative GuidelinesCreative Guidelines
Creative Guidelines
 

More from Nadine Guevarra (14)

Handout5 tables
Handout5 tablesHandout5 tables
Handout5 tables
 
Handout4 lists
Handout4 listsHandout4 lists
Handout4 lists
 
War and man’s past
War and man’s pastWar and man’s past
War and man’s past
 
Olympics
OlympicsOlympics
Olympics
 
Mother and child
Mother and childMother and child
Mother and child
 
Lec no. 3 comp hardware components
Lec no. 3 comp hardware componentsLec no. 3 comp hardware components
Lec no. 3 comp hardware components
 
Intro to spreadsheet
Intro to spreadsheetIntro to spreadsheet
Intro to spreadsheet
 
Excel.01
Excel.01Excel.01
Excel.01
 
Robert frost 001
Robert frost 001Robert frost 001
Robert frost 001
 
On giving 001
On giving 001On giving 001
On giving 001
 
Poetry 001
Poetry 001Poetry 001
Poetry 001
 
Robert frost 001
Robert frost 001Robert frost 001
Robert frost 001
 
The river merchant's wife 001
The river merchant's wife 001The river merchant's wife 001
The river merchant's wife 001
 
Wl lecture 2 essay 001
Wl lecture 2 essay 001Wl lecture 2 essay 001
Wl lecture 2 essay 001
 

Recently uploaded

GenAISummit 2024 May 28 Sri Ambati Keynote: AGI Belongs to The Community in O...
GenAISummit 2024 May 28 Sri Ambati Keynote: AGI Belongs to The Community in O...GenAISummit 2024 May 28 Sri Ambati Keynote: AGI Belongs to The Community in O...
GenAISummit 2024 May 28 Sri Ambati Keynote: AGI Belongs to The Community in O...
Sri Ambati
 
FIDO Alliance Osaka Seminar: The WebAuthn API and Discoverable Credentials.pdf
FIDO Alliance Osaka Seminar: The WebAuthn API and Discoverable Credentials.pdfFIDO Alliance Osaka Seminar: The WebAuthn API and Discoverable Credentials.pdf
FIDO Alliance Osaka Seminar: The WebAuthn API and Discoverable Credentials.pdf
FIDO Alliance
 
From Daily Decisions to Bottom Line: Connecting Product Work to Revenue by VP...
From Daily Decisions to Bottom Line: Connecting Product Work to Revenue by VP...From Daily Decisions to Bottom Line: Connecting Product Work to Revenue by VP...
From Daily Decisions to Bottom Line: Connecting Product Work to Revenue by VP...
Product School
 
De-mystifying Zero to One: Design Informed Techniques for Greenfield Innovati...
De-mystifying Zero to One: Design Informed Techniques for Greenfield Innovati...De-mystifying Zero to One: Design Informed Techniques for Greenfield Innovati...
De-mystifying Zero to One: Design Informed Techniques for Greenfield Innovati...
Product School
 
Encryption in Microsoft 365 - ExpertsLive Netherlands 2024
Encryption in Microsoft 365 - ExpertsLive Netherlands 2024Encryption in Microsoft 365 - ExpertsLive Netherlands 2024
Encryption in Microsoft 365 - ExpertsLive Netherlands 2024
Albert Hoitingh
 
Builder.ai Founder Sachin Dev Duggal's Strategic Approach to Create an Innova...
Builder.ai Founder Sachin Dev Duggal's Strategic Approach to Create an Innova...Builder.ai Founder Sachin Dev Duggal's Strategic Approach to Create an Innova...
Builder.ai Founder Sachin Dev Duggal's Strategic Approach to Create an Innova...
Ramesh Iyer
 
FIDO Alliance Osaka Seminar: Passkeys at Amazon.pdf
FIDO Alliance Osaka Seminar: Passkeys at Amazon.pdfFIDO Alliance Osaka Seminar: Passkeys at Amazon.pdf
FIDO Alliance Osaka Seminar: Passkeys at Amazon.pdf
FIDO Alliance
 
Empowering NextGen Mobility via Large Action Model Infrastructure (LAMI): pav...
Empowering NextGen Mobility via Large Action Model Infrastructure (LAMI): pav...Empowering NextGen Mobility via Large Action Model Infrastructure (LAMI): pav...
Empowering NextGen Mobility via Large Action Model Infrastructure (LAMI): pav...
Thierry Lestable
 
Kubernetes & AI - Beauty and the Beast !?! @KCD Istanbul 2024
Kubernetes & AI - Beauty and the Beast !?! @KCD Istanbul 2024Kubernetes & AI - Beauty and the Beast !?! @KCD Istanbul 2024
Kubernetes & AI - Beauty and the Beast !?! @KCD Istanbul 2024
Tobias Schneck
 
DevOps and Testing slides at DASA Connect
DevOps and Testing slides at DASA ConnectDevOps and Testing slides at DASA Connect
DevOps and Testing slides at DASA Connect
Kari Kakkonen
 
Software Delivery At the Speed of AI: Inflectra Invests In AI-Powered Quality
Software Delivery At the Speed of AI: Inflectra Invests In AI-Powered QualitySoftware Delivery At the Speed of AI: Inflectra Invests In AI-Powered Quality
Software Delivery At the Speed of AI: Inflectra Invests In AI-Powered Quality
Inflectra
 
Slack (or Teams) Automation for Bonterra Impact Management (fka Social Soluti...
Slack (or Teams) Automation for Bonterra Impact Management (fka Social Soluti...Slack (or Teams) Automation for Bonterra Impact Management (fka Social Soluti...
Slack (or Teams) Automation for Bonterra Impact Management (fka Social Soluti...
Jeffrey Haguewood
 
FIDO Alliance Osaka Seminar: Overview.pdf
FIDO Alliance Osaka Seminar: Overview.pdfFIDO Alliance Osaka Seminar: Overview.pdf
FIDO Alliance Osaka Seminar: Overview.pdf
FIDO Alliance
 
Designing Great Products: The Power of Design and Leadership by Chief Designe...
Designing Great Products: The Power of Design and Leadership by Chief Designe...Designing Great Products: The Power of Design and Leadership by Chief Designe...
Designing Great Products: The Power of Design and Leadership by Chief Designe...
Product School
 
Smart TV Buyer Insights Survey 2024 by 91mobiles.pdf
Smart TV Buyer Insights Survey 2024 by 91mobiles.pdfSmart TV Buyer Insights Survey 2024 by 91mobiles.pdf
Smart TV Buyer Insights Survey 2024 by 91mobiles.pdf
91mobiles
 
Connector Corner: Automate dynamic content and events by pushing a button
Connector Corner: Automate dynamic content and events by pushing a buttonConnector Corner: Automate dynamic content and events by pushing a button
Connector Corner: Automate dynamic content and events by pushing a button
DianaGray10
 
Monitoring Java Application Security with JDK Tools and JFR Events
Monitoring Java Application Security with JDK Tools and JFR EventsMonitoring Java Application Security with JDK Tools and JFR Events
Monitoring Java Application Security with JDK Tools and JFR Events
Ana-Maria Mihalceanu
 
The Art of the Pitch: WordPress Relationships and Sales
The Art of the Pitch: WordPress Relationships and SalesThe Art of the Pitch: WordPress Relationships and Sales
The Art of the Pitch: WordPress Relationships and Sales
Laura Byrne
 
How world-class product teams are winning in the AI era by CEO and Founder, P...
How world-class product teams are winning in the AI era by CEO and Founder, P...How world-class product teams are winning in the AI era by CEO and Founder, P...
How world-class product teams are winning in the AI era by CEO and Founder, P...
Product School
 
Transcript: Selling digital books in 2024: Insights from industry leaders - T...
Transcript: Selling digital books in 2024: Insights from industry leaders - T...Transcript: Selling digital books in 2024: Insights from industry leaders - T...
Transcript: Selling digital books in 2024: Insights from industry leaders - T...
BookNet Canada
 

Recently uploaded (20)

GenAISummit 2024 May 28 Sri Ambati Keynote: AGI Belongs to The Community in O...
GenAISummit 2024 May 28 Sri Ambati Keynote: AGI Belongs to The Community in O...GenAISummit 2024 May 28 Sri Ambati Keynote: AGI Belongs to The Community in O...
GenAISummit 2024 May 28 Sri Ambati Keynote: AGI Belongs to The Community in O...
 
FIDO Alliance Osaka Seminar: The WebAuthn API and Discoverable Credentials.pdf
FIDO Alliance Osaka Seminar: The WebAuthn API and Discoverable Credentials.pdfFIDO Alliance Osaka Seminar: The WebAuthn API and Discoverable Credentials.pdf
FIDO Alliance Osaka Seminar: The WebAuthn API and Discoverable Credentials.pdf
 
From Daily Decisions to Bottom Line: Connecting Product Work to Revenue by VP...
From Daily Decisions to Bottom Line: Connecting Product Work to Revenue by VP...From Daily Decisions to Bottom Line: Connecting Product Work to Revenue by VP...
From Daily Decisions to Bottom Line: Connecting Product Work to Revenue by VP...
 
De-mystifying Zero to One: Design Informed Techniques for Greenfield Innovati...
De-mystifying Zero to One: Design Informed Techniques for Greenfield Innovati...De-mystifying Zero to One: Design Informed Techniques for Greenfield Innovati...
De-mystifying Zero to One: Design Informed Techniques for Greenfield Innovati...
 
Encryption in Microsoft 365 - ExpertsLive Netherlands 2024
Encryption in Microsoft 365 - ExpertsLive Netherlands 2024Encryption in Microsoft 365 - ExpertsLive Netherlands 2024
Encryption in Microsoft 365 - ExpertsLive Netherlands 2024
 
Builder.ai Founder Sachin Dev Duggal's Strategic Approach to Create an Innova...
Builder.ai Founder Sachin Dev Duggal's Strategic Approach to Create an Innova...Builder.ai Founder Sachin Dev Duggal's Strategic Approach to Create an Innova...
Builder.ai Founder Sachin Dev Duggal's Strategic Approach to Create an Innova...
 
FIDO Alliance Osaka Seminar: Passkeys at Amazon.pdf
FIDO Alliance Osaka Seminar: Passkeys at Amazon.pdfFIDO Alliance Osaka Seminar: Passkeys at Amazon.pdf
FIDO Alliance Osaka Seminar: Passkeys at Amazon.pdf
 
Empowering NextGen Mobility via Large Action Model Infrastructure (LAMI): pav...
Empowering NextGen Mobility via Large Action Model Infrastructure (LAMI): pav...Empowering NextGen Mobility via Large Action Model Infrastructure (LAMI): pav...
Empowering NextGen Mobility via Large Action Model Infrastructure (LAMI): pav...
 
Kubernetes & AI - Beauty and the Beast !?! @KCD Istanbul 2024
Kubernetes & AI - Beauty and the Beast !?! @KCD Istanbul 2024Kubernetes & AI - Beauty and the Beast !?! @KCD Istanbul 2024
Kubernetes & AI - Beauty and the Beast !?! @KCD Istanbul 2024
 
DevOps and Testing slides at DASA Connect
DevOps and Testing slides at DASA ConnectDevOps and Testing slides at DASA Connect
DevOps and Testing slides at DASA Connect
 
Software Delivery At the Speed of AI: Inflectra Invests In AI-Powered Quality
Software Delivery At the Speed of AI: Inflectra Invests In AI-Powered QualitySoftware Delivery At the Speed of AI: Inflectra Invests In AI-Powered Quality
Software Delivery At the Speed of AI: Inflectra Invests In AI-Powered Quality
 
Slack (or Teams) Automation for Bonterra Impact Management (fka Social Soluti...
Slack (or Teams) Automation for Bonterra Impact Management (fka Social Soluti...Slack (or Teams) Automation for Bonterra Impact Management (fka Social Soluti...
Slack (or Teams) Automation for Bonterra Impact Management (fka Social Soluti...
 
FIDO Alliance Osaka Seminar: Overview.pdf
FIDO Alliance Osaka Seminar: Overview.pdfFIDO Alliance Osaka Seminar: Overview.pdf
FIDO Alliance Osaka Seminar: Overview.pdf
 
Designing Great Products: The Power of Design and Leadership by Chief Designe...
Designing Great Products: The Power of Design and Leadership by Chief Designe...Designing Great Products: The Power of Design and Leadership by Chief Designe...
Designing Great Products: The Power of Design and Leadership by Chief Designe...
 
Smart TV Buyer Insights Survey 2024 by 91mobiles.pdf
Smart TV Buyer Insights Survey 2024 by 91mobiles.pdfSmart TV Buyer Insights Survey 2024 by 91mobiles.pdf
Smart TV Buyer Insights Survey 2024 by 91mobiles.pdf
 
Connector Corner: Automate dynamic content and events by pushing a button
Connector Corner: Automate dynamic content and events by pushing a buttonConnector Corner: Automate dynamic content and events by pushing a button
Connector Corner: Automate dynamic content and events by pushing a button
 
Monitoring Java Application Security with JDK Tools and JFR Events
Monitoring Java Application Security with JDK Tools and JFR EventsMonitoring Java Application Security with JDK Tools and JFR Events
Monitoring Java Application Security with JDK Tools and JFR Events
 
The Art of the Pitch: WordPress Relationships and Sales
The Art of the Pitch: WordPress Relationships and SalesThe Art of the Pitch: WordPress Relationships and Sales
The Art of the Pitch: WordPress Relationships and Sales
 
How world-class product teams are winning in the AI era by CEO and Founder, P...
How world-class product teams are winning in the AI era by CEO and Founder, P...How world-class product teams are winning in the AI era by CEO and Founder, P...
How world-class product teams are winning in the AI era by CEO and Founder, P...
 
Transcript: Selling digital books in 2024: Insights from industry leaders - T...
Transcript: Selling digital books in 2024: Insights from industry leaders - T...Transcript: Selling digital books in 2024: Insights from industry leaders - T...
Transcript: Selling digital books in 2024: Insights from industry leaders - T...
 

Handout2 formatting tags

  • 1. WEBPROG1 – Web Programming 1 (HTML) Prelim Period Handout #2 HTML Formatting Tags In this lesson you will learn the basics of formatting text within an HTML. The examples below will show you how to do many formatting functions that you have most likely seen in your word processor. Bold, Italic and More Code: <p>An example of <b>Bold Text</b> </p> <p>An example of <em>Emphasized Text</em> </p> <p>An example of <strong>Strong Text</strong> </p> <p>An example of <i>Italic Text</i> </p> <p>An example of <sup>superscripted Text</sup> </p> <p>An example of <sub>subscripted Text</sub> </p> <p>An example of <del>struckthrough Text</del> </p> <p>An example of <code>Computer Code Text</code> </p> Display: An example of Bold Text An example of Emphasized Text An example of Strong Text An example of Italic Text An example of superscripted Text An example of subscripted Text An example of An example of Computer Code Text Line Breaks Line breaks are different than most of the tags we have seen so far. A line break ends the line you are currently on and resumes on the next line. Placing <br /> within the code is the same as pressing the return key in a word processor. Use the <br /> tag within the <address> tag. Code: <address> Will Mateson<br /> Box 61<br /> Cleveland, Ohio<br /> </address> Prepared By: RICHARD F. ORPIANO Page 1 of 6
  • 2. WEBPROG1 – Web Programming 1 (HTML) Prelim Period Handout #2 Display: Will Mateson Box 61 Cleveland, Ohio Preformatted HTML Text Use the <pre> tag for any special circumstances where you wish to have the text appear exactly as it is typed. Spaces, tabs, and line breaks will be preserved with the pre tag. Code: <pre> Roses are Red, Violets are blue, I may sound crazy, But I love you!</pre> Display: Roses are Red, Violets are blue, I may sound crazy, But I love you! HTML Horizontal Rule Use the <hr /> tag to display lines across the screen. Note: the horizontal rule tag the special form, like the line break tag. Code: <hr /> Use <hr /><hr /> Them <hr /> Sparingly <hr /> Display: Use Them Sparingly HTML - Font Prepared By: RICHARD F. ORPIANO Page 2 of 6
  • 3. WEBPROG1 – Web Programming 1 (HTML) Prelim Period Handout #2 The <font> tag is used to add style, size, and color to the text on your site. Use the size, color, and face attributes to manipulate your fonts. Use a <basefont> tag to set all of your text to the same size, face, and color. Font Size Set the size of your font with size. The range of accepted values is from 1(smallest) to 7(largest). The default size of a font is 3. HTML Code: <p><font size="5">Here is a size 5 font</font></p> Display: Here is a size 5 font. Font Color Set the color of your font with color. HTML Code: <font color="#990000">This text is hexcolor #990000</font> <font color="red">This text is red</font> Display: This text is hexcolor #990000 This text is red Font Face Choose a different font face using any font you have installed. Be aware that if the user viewing the page doesn't have the font installed, they will not be able to see it. Instead they will default to Times New Roman. An option is to choose a few that are similar in appearance. HTML Code: <p><font face="Bookman Old Style, Book Antiqua, Garamond">This paragraph has had its font...</font></p> Display: This paragraph has had its font formatted by the font tag! Basefont - Set a Solid Base Prepared By: RICHARD F. ORPIANO Page 3 of 6
  • 4. WEBPROG1 – Web Programming 1 (HTML) Prelim Period Handout #2 With the basefont tag you will be able to set the default font for your web page. We highly recommend specifying a basefont if you plan on using a specifying a font with HTML. Below is the correct way to set your basefont. HTML Code: <html> <body> <basefont size="2" color="green"> <p>This paragraph has had its font...</p> <p>This paragraph has had its font...</p> <p>This paragraph has had its font...</p> </basefont> </body> </html> Display: This paragraph has had its font formatted by the basefont tag! This paragraph has had its font formatted by the basefont tag! This paragraph has had its font formatted by the basefont tag! However, the use of basefont is deprecated, which means it may not be supported sometime in the future. The perfectly correct way to change your sites basefont is to set it with CSS. HTML Color - bgcolor The bgcolor attribute is used to control the background of an HTML element, specifically page and table backgrounds. Bgcolor can be placed within several of the HTML tags. However, we suggest you only use it for your page's main background (<body>) and in tables. The HTML to change the background color is simple: <TAGNAME bgcolor="value"> Quick and dirty, here is how to change the background of your web page. Just use the bgcolor attribute in the <body> tag and you are golden. Code: <body bgcolor="Silver"> <p>We set the background...</p> </body> Display: We set the background of the body to be silver. The body tag is where you change the pages background. Now continue the lesson to learn more about adding background colors in your HTML! HTML Coloring System - Color Names Prepared By: RICHARD F. ORPIANO Page 4 of 6
  • 5. WEBPROG1 – Web Programming 1 (HTML) Prelim Period Handout #2 Before diving into the bgcolor attribute, it is important to understand the coloring system used in HTML. There are 3 different methods to set the background color. The simplest being the Generic terms of colors. Examples: black, white, red, green, and blue. Generic colors are preset HTML coded colors where the value is simply the name of each color. Here is a sample of the most widely supported colors and their respective name values. Black Gray Silver White Yellow Lime Aqua Fuchsia Red Green Blue Purple Maroon Olive Navy Teal HTML Coloring System - Hexadecimal Hexadecimals are by far the hardest to understand but usually work from browser to browser. Here is a brief math lesson. In the decimal numbering system you have 10 possible values to choose from. As in the number 2_6, we can choose a number between 0-9 to fill in that blank. The hexadecimal system is different in that it allows for 16 possible digits. But aren't there only 10 possible numbers? Yes! That is why they use the letters a-f to represent values of 10-15. Below is a decimal -> hexadecimal reference: Decimal 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 Hexadecimal 0 1 2 3 4 5 6 7 8 9 A B C D E F That means the range for a hexadecimal is 0-F, as compared to decimal's 0-9. Color defined with hex uses the first 2 digits for red, the second 2 for green, and the last 2 for blue. If we wanted to pure green, our hexadecimal value would be #00FF00, since F is the maximum amount and we would want red and blue values to be 0. Here is an example of hexadecimal green for a table's background: bgcolor="#00FF00" The pound sign (#) simply tells the browser that the following characters are a combined hexadecimal value. If you want to learn to use hexadecimal we suggest you experiment with making a bunch of different tables with various hex values. To start off, use pairs like #CCFFEE and notice how your color is changed. Hexadecimals are the best choice for compatible web development because of their consistency between browsers. Even the most minor of change in color can throw your entire site out of whack, so be sure to check your site in a number of browsers. If you want to be absolutely sure your colors will not change, use paired hex values for color. Examples: "#0011EE", "#44HHFF", or "#117788". These are called True Colors, since they will stay true in hue from browser to browser. HTML Coloring System - RGB Values Prepared By: RICHARD F. ORPIANO Page 5 of 6
  • 6. WEBPROG1 – Web Programming 1 (HTML) Prelim Period Handout #2 We do not recommend that you use RGB for safe web design because non-IE browsers do not support HTML RGB. However, if you plan on learning CSS then you should glance over this topic. RGB stands for Red, Green, Blue. Each can have a value from 0 (none of that color) to 255 (fully that color). The format for RGB is - rgb(RED, GREEN, BLUE), just like the name implies. Below is an example of RGB in use, but if you are not using a browser that supports it, do not worry, that is just one of the problems with HTLM RGB. bgcolor="rgb(255,255,255)" White bgcolor="rgb(255,0,0)" Red bgcolor="rgb(0,255,0)" Green bgcolor="rgb(0,0,255)" Blue Prepared By: RICHARD F. ORPIANO Page 6 of 6