[Html] Text size in table

Solved
Hello,

I've been trying for a while to change the text size in a table on an HTML page, but I can't figure out how to do it....
I might be a bit clumsy on Google, but they're only offering CSS solutions (a language I don't want to learn right now)...
Is there a simple HTML alternative?

Thanks in advance...

Kilian, beginner in background tasks.....

9 answers

  • Votes
  • Date
  • Descending date
  1. In the table tag, you can do something horrifically gross but it works: add some CSS code.

    For example, to set the font size for the entire table: <table style="font-size:1em;"> table </table>
    1. Hello
      if you use the tags <h1>..........<h6> inside the table tags, does it not work?

      DURALEX SED LEX
      1. Moderator
        <h> is a tag for the size of a title, the text generated in
        is small but bold... So that doesn't really suit me....
        Thinking it over, I believe there's no other solution than to write .... for each line of the table....

        Thank you still :-)

        Kilian, beginner in background tasks.....
        </h6></h>
        1. yes size I hadn't thought of that.
          good continuation

          DURALEX SED LEX
          1. ohhh!! I created a part of these tags but it didn't work; you can even define the color and the default font (but for the whole page) here they are:
            <font color=#"the default color" size="the default size" face="the default font">
            see you soon!
            1. Well, you just need to put </font> where you want it to stop, and then put it back later if you want :)
              1. I couldn't find a solution other than changing the font globally with <font face="fontname"><table> ... </table></font>

                For the font size, strangely it doesn't work, except line by line... quite tedious, but effective.

                In such a case, CSS is really suitable. But depending on technical constraints, you can't always do what you want ^^
                1. Look for the IDs in CSS... And apply that to your table, or to your td/th.