Are you switching from ancient html4 to brand new html5?
Good. Me too.
However.Few things change.
If you use in html5 Netbeans will warn you that "The entity "nbsp" was referenced, but not declared.".
How to solve problem?
You simply need replace with  
Why You see this error?
As (X)HTML5 no longer uses a DTD you need replace entity name with number.
Good news is that, if you ignore warning,then ... nothing bad happen as all modern internet browsers will handle this smoothly.
For other characters look to my other post:
character entity references in html5
If you need learn more about HTML entities (Reserved characters in HTML must be replaced with character entities.), look here: w3schools or here tutorialspoint .
No comments:
Post a Comment