Formatting Text

Character Formatting

At times, you may want to emphasis selected text in the document you have published on the web. There are various ways to do this. By using the following codes, you will be able to underline, bold or make your text italics.

Bold

The code for bold is: <B>THE TEXT TO BE BOLDED!</B>.

<!When you see a tag begining with <!, this is a remark. They can be used to put explanations into the document that will not be seen when the page is displayed by the browser>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<META NAME="Author" CONTENT="Dave Rigney">
<TITLE>This is my page </TITLE>
</HEAD>
<BODY>

<P>This is the text that I want to display. <B>I am going to make sure that it is long enough</B> to cause a word wrap on the screen from the browser. After this paragraph we will type some other stuff and then will look at it to see what we have on the screen.</P>

<P>This is the start of paragraph number two. Notice what happens when you display this on the screen in your browser.</P>

</BODY>
</HTML>




Example

Italics

<I>THE TEXT TO BE ITALICISED</I>

<!When you see a tag begining with <!, this is a remark. They can be used to put explanations into the document that will not be seen when the page is displayed by the browser>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<META NAME="Author" CONTENT="Dave Rigney">
<TITLE>This is my page </TITLE>
</HEAD>
<BODY>

<P>This is the text that I want to display. <B>I am going to make sure that it is long enough</B> to cause a word wrap on the screen from the browser. After this paragraph we will type some other stuff and then will look at it to see what we have on the screen.</P>

<P>This is the <I>start of paragraph number two</I>. Notice what happens when you display this on the screen in your browser.</P>

</BODY>
</HTML>





Example

Underlining

To underline: <U>THE TEXT TO BE UNDERLINED</U>

<!When you see a tag begining with <!, this is a remark. They can be used to put explanations into the document that will not be seen when the page is displayed by the browser>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<META NAME="Author" CONTENT="Dave Rigney">
<TITLE>This is my page </TITLE>
</HEAD>
<BODY>

<P>This is the text that I want to display. <B>I am going to make sure that it is long enough</B> to cause a word wrap on the screen from the browser. After this paragraph we will type some other stuff and then will look at it to see what we have on the screen.</P>

<P>This is the <I>start of paragraph number two</I>.<U>Notice what happens</U> when you display this on the screen in your browser.</P>

</BODY>
</HTML>




Example

Font Size

To change Font Size: <FONT SIZE=+1>THE TEXT TO BE CHANGED</FONT>

The font size can be made bigger by using a +; smaller by using -. The number range can be from 1 to 7.


<!When you see a tag begining with <!, this is a remark. They can be used to put explanations into the document that will not be seen when the page is displayed by the browser>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<META NAME="Author" CONTENT="Dave Rigney">
<TITLE>This is my page </TITLE>
</HEAD>
<BODY>

<FONT SIZE=+1><P>This is the text that I want to display. <B>I am going to make sure that it is long enough</B> to cause a word wrap on the screen from the browser. After this paragraph we will type some other stuff and then will look at it to see what we have on the screen.</P></FONT>

<FONT SIZE=+2><P><P>This is the <I>start of paragraph number two</I>.<U>Notice what happens</U< when you display this on the screen in your browser.</P></FONT>

</BODY>
</HTML>



Example

Home