Advertisements
Advertisements
Question
Explain following tag with example:
<PRE>
Explain
Solution
- <PRE> preformates the text. The text between start tag <PRE> and end tag </PRE> is shown in menopause format.
- This tag is used to arrange the characters.
- This tag displays text in the same format as the character and line spacing specified in the source HTML document.
- For example:
<PRE> 1 1 1 1 2 1 1 3 3 1 </PRE>
The display will be as:
1
1 1
1 2 1
1 3 3 1
shaalaa.com
Is there an error in this question or solution?
2023-2024 (March) Official