Question:

I Need Help With Codes

by  |  earlier

0 LIKES UnLike

I used to have the codes to put things into color, to bold, underline, italics, and make larger/smaller. But i don't have them anymore. i know they were simple. But i don't remember them at all. Could someone plz help me?

 Tags:

   Report

2 ANSWERS


  1. These thing are best done with CSS. Write your HTML with the specific sections of your document identified by class or id (<div id="whatever"" or <p class="something" ...and write a CSS file containing specifications like

    div#whatever { font-size: larger; font-style: italic; color: red; }

    p.something { font-weight: bold; text-decoration: underline; }


  2. Although most people (including myself) are going to say use stylesheets,  I'm trying to guess what you might have used as the most simple method.

    Perhaps:

    Bold: <strong>this is bold</strong>

    Bold: <b>this is bold, too</b>

    Italics: <em>this is italicized</em>

    Italics: <i>this is italicized, too</i>

    Font size: <font size="18">this is large</font>

    Font size: <font size="+2">this is large, too</font>

    Font color: <font color="black">this is black</font>

    Font color: <font color="#000000">this is black, too</font>

    Underline: <u>this is underlined</u>
You're reading: I Need Help With Codes

Question Stats

Latest activity: earlier.
This question has 2 answers.

BECOME A GUIDE

Share your knowledge and help people by answering questions.