Which of the following lines of code add underline to our text?
text-decoration: line-through;
None of the options
text-decoration: underline;
text-decoration: overline;
text-decoration: underline;
The line of code that adds underline to text is:
text-decoration: underline;
The correct answer is "text-decoration: underline;".
To understand why this is the correct answer, let's break down the lines of code given:
1. "text-decoration: line-through;" - This line of code adds a line through the text, which creates a strikethrough effect. It does not add an underline.
2. "None of the options" - This answer implies that none of the given options will add an underline to our text. Therefore, it is not the correct answer.
3. "text-decoration: underline;" - This line of code is the correct answer. It adds an underline to the text, which is what we are looking for.
4. "text-decoration: overline;" - This line of code adds a line above the text, creating an overline effect. It does not add an underline.
In summary, the only line of code that adds an underline to our text is "text-decoration: underline;".