Web Page Layout

Is there a way that we can modify the layout of websites using HTML (e.g. opening a new line, skipping lines, etc)? Thank you all!

Yes there is.

You can use the self closing <br> tag for new line or breaking line or adding empty lines, &nbsp or &#160 to add another space after space, &ensp for two spaces, &emsp for four spaces and to preserve the spaces, new lines or to pre format your code use <pre></pre> tag.

You can use all of the above methods though, using all the & one’s should be avoided as browsers’ rendering system don’t like them.
Hope it was helpful.

2 Likes