Is space legal after an angle bracket?



I'm building a slicer for deserializing html and xml. The question is - is it legal in either language to put a space after angle bracket and still have it count as a tag? For example



< div>


Or should I just consider that plain text?


And yes, I tried searching web for this but even after browsing through w3, I couldn't spot an explicit answer.


No comments:

Post a Comment