Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

font size in html code

Tags:

html

font-size

  <html>
  <tr>
  <td style="padding-left: 5px;padding-bottom:3px; font size="35;""> <b>Datum:</b><br/>
                            November 2010 </td>
  </html>

is my code correct? i would like to increase the font of the first line. Not sure if i have to put 2 "'s here. and it seems it didn't work.

like image 417
tintincutes Avatar asked Oct 07 '10 12:10

tintincutes


People also ask

What is the tag for font size in HTML?

The <font> tag was used in HTML 4 to specify the font face, font size, and color of text.

What is the HTML code for font?

You can use a <basefont> tag to set all of your text to the same size, face, and color. The font tag is having three attributes called size, color, and face to customize your fonts. To change any of the font attributes at any time within your webpage, simply use the <font> tag.


1 Answers

Try this:

<html>
  <table>
    <tr>
      <td style="padding-left: 5px;
                 padding-bottom: 3px;">
        <strong style="font-size: 35px;">Datum:</strong><br />
        November 2010 
      </td>
    </tr>
  </table>
</html>

Notice that I also included the table-tag, which you seem to have forgotten. This has to be included if you want this to appear as a table.

like image 86
Good Samaritan Avatar answered Oct 11 '22 15:10

Good Samaritan