"&nbsp" appears a lot in the source code of a form, what is the purpose of this?

Recommended Answers

All 3 Replies

This is actually an HTML entity, specifically called "non breaking space". It creates space.

Remember that browsers will always truncate spaces in HTML pages. You can use the   entity to create spaces.

thank u :)

its purpose to break the page.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, learning, and sharing knowledge.