Formatting tags, PHP Web Programming

Assignment Help:

Now let us look at some more tags which can be used to format text. These are all given in the example illustrated in Figure 

<HTML>

<HEAD>

<TITLE> XYZ</TITLE>

</HEAD>

<BODY>

<B> XYZ </B>

provides several <I> programmes </I>

in the <B><I>Computer </I></B> stream.

<P>

One of the <I> programmes </I> is <B><U> MCA</U></B>

</P>

<B>MCA </B> stands for <TT> Master Of Computer Applications </TT>

<BR>                                                                                                                                                                           

<S>For MCA</S> <B> XYZ </B> is considered to be one of the premier universities.

<BR>

<STRONG>XYZ</STRONG> believes in <STRONG><EM> Quality</EM></STRONG> education

<BR>

<P>

According to <CITE> XYZ, </CITE> <B> MCA<B> is one of its best programmer offering convenient timings to the student so that s/he can pursue the course while working at a job.

</P>

<BLOCKQUOTE>

For convenience all the courses offered by XYZ can be seen on its website. A student has also been provided the flexibility of seeing all the information regarding admission to the next semester, examination result etc. on its website.

</BLOCKQUOTE>

<HR NOSHADE>

<B> contact details are :

<BR> Website : www.XYZ.ac.in

</ADDRESS>

</BODY>

</HTML>

 

226_Formatting Tags.png

 Figure: An Example showing Various Formatting Tags.

a. BOLD: The text will displayed in boldface through writing it in between the <B> and </B> tags.

b. ITALICS: It begins with <I> and ends with </I> tag. It is utilized to display the text in italics.

c. UNDERLINE: It is utilized for underlining the text to be displayed.  The <U> tag is utilized for this reason. These tags can be nested.  Thus in order to see the text in boldface, in italics & underlined, it must be placed among the <B><I><U> and </U></I></B> tags. Note that the closing tags are written in reverse order, since any tag used in some other tag should be closed first.

d. PARAGRAPH: If you wished to display the text within the form of paragraphs, then the <P> tag will be used.

e. TT: The <TT> tag is utilized for displaying text in a fixed width font same to that of a typewriter.

f. STRIKE: If you wished the text to be marked along a strikethrough character, place it in the <S> and </S> tags.

g. STRONG: There are sure text-based browsers that do not leave the text as boldfaced. So you can employ the <STRONG> tag rather than the <B> tag.  This displays the text to stand out in the most suitable manner for the browser.

h. EM: Just as the <STRONG> tag corresponds to the <B> tag, the <EM> might be used rather than the <I> tag. The purpose for using it is the same as for the <STRONG> tag.  The <EM> tag is utilized for emphasizing the text in the manner most suitable to the browser.

i.   BR: This tag is utilized for inserting a line break. The text written after the <BR> tag is displayed from the beginning of the next line onwards.  This tag does not required a corresponding terminating tag.

j.   HR: This tag puts horizontal line on the page. It has the given attributes:

o   ALIGN: for aligning the line on the page. The probable values of this attribute are LEFT, RIGHT, and CENTER. It is useful while the width of the line is less than the width of the page.

o   NOSHADE: This is used to prevent any shading effect.

o   SIZE: used for denoting the thickness of the line.

o   WIDTH: You can set the width of a line by this attribute. The value can be denoted either in pixels or as a percentage of the width of the page, for example. <HR WIDTH = "30%">.

k. BLOCKQUOTE: This tag indents left margin of the text. This is used for displaying the text as quoted text as illustrated in Figure

l.   ADDRESS: This tag, as illustrated in Figure, displays the text in italics.

m. CITE: The text placed in between the <CITE> and </CITE> tags is rendered in italics through the browser.


Related Discussions:- Formatting tags

Website development fo responsive site, Website Development We have a st...

Website Development We have a static website that we would willing to change to a responsive wordpress site. We would willing a quote for design of the mobile versions based

Define the document page title, Define the Document Page Title However t...

Define the Document Page Title However the document has a file name, notice it is labelled Untitled Document still; that is because it required an HTML document name, or page ti

I need help to develop drupal rooms, I need help to develop Drupal Rooms ...

I need help to develop Drupal Rooms I have a website I build it with Drupal for Rent apartments, I have five buildings in different places Every building have different capacity

Prepare a few custom post types, Looking to prepare a few custom post types...

Looking to prepare a few custom post types, approval processes, user registration types reports/analytics in a custom WordPress application. It's not a rapid job, there's quite

Needed a front-end developer, Front-end Developer As a freelance front-e...

Front-end Developer As a freelance front-end developer, you will be appointed on a per-project basis. You will be accountable for the production, modification and maintenance of

Export a dreamweaver document as xml file, Step 1: Select File -> Open, ...

Step 1: Select File -> Open, Step 2: Choose the document which uses a template (and has editable regions)  Step 3: Click Open Step 4: Select File -> Export -> Exp

We need help for ongoing developer work using portal, We need help for Ongo...

We need help for Ongoing Developer work using portal 8 Seeking a developer who has moderate to extensive experience working with Portal 8 to help build custom template websites.

Onfocus and onblur, The onFocus event handler executes the mentioned JavaSc...

The onFocus event handler executes the mentioned JavaScript code or function on the occurrence of a focus event. It is while a window, frame or form element is given the focus. It

I am in search of wufoo api expert, I am in search of Wufoo API Expert I...

I am in search of Wufoo API Expert I am seeking someone who is skilled with Wufoo's form API. The task needs submitting wufoo form xml to another site. Please offer relevant exp

Develop a program to move a text along with mouse pointer, 1. Develop ...

1. Develop a program to move a text along with mouse pointer. 2. Develop a program to change color of text randomly. 3. Develop a Web page using two image file

Write Your Message!

Captcha
Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd