Font format


#1


https://www.codecademy.com/courses/web-beginner-en-f8mcL/1/4?curriculum_id=50579fb998b470000202dc8b#

What is the "padding" in this ? Not introduced to it in previous exercises.
and in the heading, we are asked to give color red to the font. How are we supposed to write <colspan> then? Tried the semicolon way..doesn't work. but if i write it like this...

<th style="color:red"colspan="2";style="color="red">Famous Monsters by Birth Year</th>

without the semicolon..its working perfectly fine


#2

ah, i guess that is something new, you can have multiply attributes at a html element by simply separating them with a space:

<img src="url" alt="my_image">

here you use style right:

style="color:red"

this looks rubbish:

style="color="red"

style and colspan are both attributes, use what i showed you to do it right!


#3

And what about :
Table style ?
Border bottom ?
Padding ?
These were not introduced before except just straight away added to the exercise.


#4

this is a completely different exercise, you should make a new topic

style is covered? Except this time you add it to <table> instead of a paragraph or a heading, but this shouldn't come as new.

border-bottom will only give a border at the bottom rather then all 4 sides

padding will be covered later, it is the spacing inside the element


#5

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.