I need a simple HTML code. I choose best answer!?
Ok, I know this is a dumb question but I forget how to do this.
I need a basic HTML code to change the FONT SIZE and COLOR of text.
I'll choose best answer! :D
Public Comments
- <font face="arial" color="red" size="+1"> FACE: font COLOR: colour of text SIZE: Size of text
- Lets say i want the message Hello world large and red in color <html> <head> </head> <body> <font size='7' color='ff0000'>Hello World!</font> </body> </html> Thats it size is the size of the font and color='ff0000' is red. its in hexa first 2 characters stand for red.
- <Font Size="12pt" Color="green" >
- <font face="arial" size="12px" color="red">your text goes here</font>
- <font color="red" size=3> blah blah blah </font> or <h1><font color="red"> blah blah </font></h1> of do it with a css style
- Use CSS within your HTML... <font style="color: #FF0000; font-size: 36px;">test</font>
- hi there webmonkey.com has a cheatsheet with the most common html on it
- Here you go, nice and proper: <span style="font-size: ; color: ;">text goes here</span> After "font-size", put in the size using the a multiplier "em." For example, to keep the current size, put in "1em" and you'll multiply the current size by 1 (stays the same). "2em" doubles the size, "0.5em" will cut the size in half. After color, use one of the Hex codes located here (including the "#" sign: www.html-color-codes.com Good luck!
- Of course the best way to do this is to use CSS, but as you asked for HTML I will stick to that but use some css within the html. <div style="color:red;font-size:30px">Your text here</div> of course you can change the <div></div> to a <p></p> or any other tag that is designed to hold text.
- Font size is changed in size like this, we will use the name Mary Taylor as an example. <BODY> <H1 ALIGN=CENTER>Mary Taylor<H1> Being Smaller <H2 ALIGN=CENTER>Mary Taylor<H2> Being The Larger Using H as the determining factor on size. Now as for color. There is a Complete list of colors that are used in HTML they have 2 values RGB Triplet and the Hexadecimal Code that is used in the creation of color selection Blue is 0000FF Red is FF0000 Yellow is FFFF00 There is a right way and wrong way to write the code so that it appears correct when you Preview it and or Publish it. I suggest you find a Book similar to, Creating Web Pages using HTML by Patrick Carey It will give you a step by step of all you need to know as a begginer.
Powered by Yahoo! Answers