Tools, FAQ, Tutorials:
Closing XHTML 'br' Tags
What Is wrong with my <br> Tags?
✍: FYIcenter.com
If you are used HTML syntax, you may write your <br> tags
as in the paragraph below:
<p> I love the way you look at me,<br> Your eyes so bright and blue.<br> I love the way you kiss me,<br> Your lips so soft and smooth.<br> </p>
But that paragraph will be invalid as XHTML documents, because all 4 <br> are not closed. You should change it to:
<p> I love the way you look at me,<br/> Your eyes so bright and blue.<br/> I love the way you kiss me,<br/> Your lips so soft and smooth.<br/> </p>
2024-03-23, 2181🔥, 0💬
Popular Posts:
What's Wrong with "while ($c=fgetc($f)) {}" in PHP? If you are using "while ($c=fgetc($f)) {}" to lo...
How To Convert a Character to an ASCII Value? If you want to convert characters to ASCII values, you...
How To Access a Global Variable inside a Function? in PHP? By default, global variables are not acce...
What is test testing area for? The testing area is provided to allow visitors to post testing commen...
How To Use an Array as a Queue in PHP? A queue is a simple data structure that manages data elements...