Exercise 1.3: Why separate form from function?29


#1

Exercise 1.3: Why separate form from function?29


#2

What is your question?

If it really is "Why separate form from function?". It makes it a lot easier to add style.
Instead of having to type the same stuff over and over again:

<span style="color:red">Styled text</span>

We can just do it once in the stylesheet:
CSS:

span {
  color: red;
}

Here we set the color to red for the text between the span tags.

As in the exercise demonstrates this makes it a lot easier to style larger texts and webpages.


#3

thankssss brother help me
:yum: