Whitespaces
Last updated
What is Whitespaces?
Whitespaces in HTML refer to the spaces, tabs, and line breaks that are used to format the code. Browsers typically collapse multiple consecutive whitespaces into a single space when rendering the content. While using whitespaces can improve the readability of your HTML code, they generally don't affect how the page is displayed to the user.
Free resources to learn Whitespaces
- ArticleHandling whitespace | DMN docs
- VideoWhitespace in HTML
More in stage 3: Basic Tags
Whitespaces: common questions
Can I learn Whitespaces in Hindi?
This lesson is written in English. Once you sign in, open it in the interactive course and ask the AI tutor to explain Whitespaces in Hindi or Hinglish. The tutor answers from this lesson’s own text, so it stays on the syllabus, and it runs on your own Google, OpenAI or Anthropic key.
Is this Whitespaces tutorial for beginners?
It is lesson 24 of 88 in the free HTML roadmap, in stage 3, Basic Tags. If you are new to HTML, start from stage 1 and come back here in order; if you already know the earlier stages, this lesson stands on its own.