Category: Entertainment

Presentation Description

No description available.


Presentation Transcript

HTML Text Formatting:

HTML Text Formatting TAG DESCRIPTION < tt >...</ tt > Teletype Text < i >...</ i > Italic Text <b>...</b> Bold Text <big>...</big> Big Text <small>...</small> Small Text <strike>...</strike> Strike text <em>...</em> Emphasized Text

PowerPoint Presentation:

TAGS DESCRIPTION <pre>...</pre> Preformtted Text <strong>...</strong> Strong Text

HTML Text Formatting :

HTML Text Formatting Used to give special effect to the desired text. Ex:<html> <body> <p><b>This text is bold</b></p> <p><strong>This text is strong</strong></p> <p><big>This text is big</big></p> <p><em>This text is emphasized</em></p> <p>< i >This text is italic</ i ></p> <p><small>This text is small</small></p> <p>This is<sub> subscript</sub> and <sup>superscript</sup></p> <pre> This is preformatted text. It preserves both spaces and line breaks. </pre> <p>The following word uses a < tt > monospaced </ tt > typeface.</p> <p>The following word uses a <strike>strikethrough</strike> typeface.</p> < center > This is in the center . </ center > </body> </html>



HTML Headings :

HTML Headings Headings are defined with the <h1> to <h6> tags. <h1> defines the most important heading. <h6> defines the least important heading. EX:<html> <body> <h1>This is heading 1</h1> <h2>This is heading 2</h2> <h3>This is heading 3</h3> <h4>This is heading 4</h4> <h5>This is heading 5</h5> <h6>This is heading 6</h6> </body> </html> O/P


HTML HEADING ATTRIBUTES Align :left (DEFAULT)/center/right/justify: Specifies the alignment of a heading. EX: <html> <body> <h1 align="center">This is heading 1</h1> <h2 align="left">This is heading 2</h2> <h3 align="right">This is heading 3</h3> <h4 align="justify">This is heading 4</h4> </body></html> O/P


HTML PARAGRAPH Paragraphs are defined with the <p> tag. Attributes: align =“ left(default)/right/center/justify” EX :<html> <body> <p align="right">This is some text in a paragraph.</p> </body> </html> o/p

HTML Fonts:

HTML Fonts <font> tag is used to customize the appearance of text. Attributes: Size : This attribute can be specified in absolute or relative values ranging from 1 to 7.Default font size=3.Maximum font size=7.Mimimum font size=1 Using a relate font size i.e. putting a plus or minus sign before the number will change the font size relative to the default font size. ex:<font size=”+4”>makes the font size 4 steps bigger than the current size. Face : attribute changes the font style. ex:<font face=” arial ”> the text will be Arial type</font> Color : This sets the color of the enclosed text. This attribute takes a RGB component of a color or the name of the color. Ex :<font color=”black”>flower</font> or<font color=”#000000”>flower</font>

PowerPoint Presentation:

Ex: <html> <body> <p> <font size="5" face=" arial " color ="red"> This paragraph is in Arial, size 5, and in red text color . </font> </p> </body> </html>


<BASEFONT> Sets base size, color, and typeface properties for the body text font. COLOR--Set to any of the 16 reserved, English-language color names or an RGB hexadecimaltriplet . The default font color is black. FACE--Set to a list of typefaces that the browser should use to render the text. The browser will use the first face in the list if that face is available. If not, it will work through the rest of the list and use the first face it finds available. SIZE--Set equal to an integer value between 1 and 7.

<ABBR> :

<ABBR> Contains text that is an abbreviation of something. This is useful information for browsers that are not vision-based because it enables them to treat the abbreviation differently. A speech-based browser, for example, could know to look in an abbreviation table for pronunciation if you marked up "Dr." with the <ABBR> tag. That way, it could say the word "doctor" rather than making the " dr"sound . Syntax: <ABBR> ... acronym goes here ... </ABBR> Attributes: None. Example: She got her doctorate (<ABBR>PhD</ABBR>) from the University of Virginia .


<ACRONYM> Contains text that specifies an acronym. This tag is also useful for nonvisual browsers. The tag might tell a speech-based browser to pronounce the letters in the acronym one at a time, Rather than trying to pronounce the acronym as a word.

PowerPoint Presentation:

<p>Hyper Text Markup Language <ACRONYM>(HTML)</ACRONYM> is a popular markup language.</p>


<ADDRESS> Contains either a postal or an electronic mail address. Text marked with this tag is typically rendered in italic

authorStream Live Help