CSS Test: Indent Test and Margin Test (Span Tag)

Tests

CSS Test: Indent Test and Margin Test

Comments: I also tried using SPAN tags, but the HTML source was not valid HTML, because DIV tags were inside SPAN tags.

Anchor test: Heading, question 1, question 2, question 3.24, question 4.56, question 5.10, question 5.11.

Q: Frequently asked question 1. Frequently asked question?

This paragraph has an indent definition. Answer to a frequently asked question. Answer to a frequently asked question. Answer to a frequently asked question. Answer to a frequently asked question. Answer to a frequently asked question. Answer to a frequently asked question. Answer to a frequently asked question. Answer to a frequently asked question. Answer to a frequently asked question.

Second paragraph: does the indent style tag still apply. Second paragraph: does the indent style tag still apply. Second paragraph: does the indent style tag still apply. Second paragraph: does the indent style tag still apply. Second paragraph: does the indent style tag still apply. Second paragraph: does the indent style tag still apply. Second paragraph: does the indent style tag still apply. Second paragraph: does the indent style tag still apply. Second paragraph: does the indent style tag still apply. Second paragraph: does the indent style tag still apply. Second paragraph: does the indent style tag still apply.

Q. Frequently asked question 2. Frequently asked question?

This paragraph has a margin definition. Answer to a frequently asked question. Answer to a frequently asked question. Answer to a frequently asked question. Answer to a frequently asked question. Answer to a frequently asked question. Answer to a frequently asked question. Answer to a frequently asked question. Answer to a frequently asked question. Answer to a frequently asked question.

Second paragraph: does the margin style tag still apply. Second paragraph: does the margin style tag still apply. Second paragraph: does the margin style tag still apply. Second paragraph: does the margin style tag still apply. Second paragraph: does the margin style tag still apply. Second paragraph: does the margin style tag still apply. Second paragraph: does the margin style tag still apply. Second paragraph: does the margin style tag still apply. Second paragraph: does the margin style tag still apply. Second paragraph: does the margin style tag still apply. Second paragraph: does the margin style tag still apply.

3.24 Frequently asked question. Frequently asked question?

Where does the margin of the answer look best when we are using numbers in front of the question? If we want the margin of the answer begin where the question begins, we can't give a constant value for the margin, because the place of the first letter in the beginning of the question varies depending on the number in front of it (e.g. 3.24 is wider than 1.1). Answer to a frequently asked question. Answer to a frequently asked question. Answer to a frequently asked question. Answer to a frequently asked question. Answer to a frequently asked question. Answer to a frequently asked question. Answer to a frequently asked question. Answer to a frequently asked question. Answer to a frequently asked question.

Second paragraph of the answer to the question. Second paragraph of the answer to the question. Second paragraph of the answer to the question. Second paragraph of the answer to the question. Second paragraph of the answer to the question. Second paragraph of the answer to the question. Second paragraph of the answer to the question. Second paragraph of the answer to the question. Second paragraph of the answer to the question. Second paragraph of the answer to the question. Second paragraph of the answer to the question. Second paragraph of the answer to the question. Second paragraph of the answer to the question.

4.56 Frequently asked question. Frequently asked question?

Maybe we don't need a margin in the answer at all. The numbers in front of the question help the eye distinguish the question from the answer easily. Answer to a frequently asked question. Answer to a frequently asked question. Answer to a frequently asked question. Answer to a frequently asked question. Answer to a frequently asked question. Answer to a frequently asked question. Answer to a frequently asked question. Answer to a frequently asked question. Answer to a frequently asked question.

Second paragraph of the answer to the question. Second paragraph of the answer to the question. Second paragraph of the answer to the question. Second paragraph of the answer to the question. Second paragraph of the answer to the question. Second paragraph of the answer to the question. Second paragraph of the answer to the question. Second paragraph of the answer to the question. Second paragraph of the answer to the question. Second paragraph of the answer to the question. Second paragraph of the answer to the question. Second paragraph of the answer to the question. Second paragraph of the answer to the question.

5.10 Frequently asked question. Frequently asked question?

Background color test for the question. Answer to a frequently asked question. Answer to a frequently asked question. Answer to a frequently asked question. Answer to a frequently asked question. Answer to a frequently asked question. Answer to a frequently asked question. Answer to a frequently asked question. Answer to a frequently asked question. Answer to a frequently asked question.

Second paragraph of the answer to the question. Second paragraph of the answer to the question. Second paragraph of the answer to the question. Second paragraph of the answer to the question. Second paragraph of the answer to the question. Second paragraph of the answer to the question. Second paragraph of the answer to the question. Second paragraph of the answer to the question. Second paragraph of the answer to the question. Second paragraph of the answer to the question. Second paragraph of the answer to the question. Second paragraph of the answer to the question. Second paragraph of the answer to the question.

5.11 Frequently asked question. Frequently asked question?

How about using a DIV tag between questions? See the color box above this question. Answer to a frequently asked question. Answer to a frequently asked question. Answer to a frequently asked question. Answer to a frequently asked question. Answer to a frequently asked question. Answer to a frequently asked question. Answer to a frequently asked question. Answer to a frequently asked question. Answer to a frequently asked question.

Second paragraph of the answer to the question. Second paragraph of the answer to the question. Second paragraph of the answer to the question. Second paragraph of the answer to the question. Second paragraph of the answer to the question. Second paragraph of the answer to the question. Second paragraph of the answer to the question. Second paragraph of the answer to the question. Second paragraph of the answer to the question. Second paragraph of the answer to the question. Second paragraph of the answer to the question. Second paragraph of the answer to the question. Second paragraph of the answer to the question.

Some extra space below for the anchor test.