# Simple HTML design question

**URL:** https://boards.straightdope.com/t/simple-html-design-question/258745
**Category:** Factual Questions
**Created:** [August 7, 2004, 6:24am UTC](https://boards.straightdope.com/t/simple-html-design-question/258745 "2004-08-07T06:24:30Z")
**Posts on this page:** 5
**Page:** 1

<div class="post-metadata">

### Author: ![wolf\_meister](https://sea3.discourse-cdn.com/straightdope/user_avatar/boards.straightdope.com/wolf_meister/32/15202_2.png) [@wolf\_meister](https://boards.straightdope.com/u/wolf_meister)
#### Post date: [August 7, 2004, 6:24am UTC](https://boards.straightdope.com/t/simple-html-design-question/258745/1 "2004-08-07T06:24:30Z")

</div>

In years past, when writing an HTML document, if you were displaying text and didn’t specify any parameters, the text would just “run off the page”, so to speak. There were many ways to avoid this:  
— Setting up a table  
— using \<br\> or \<p\> tags  
— using the \<Text Area Wrap\> and \<Align\> tags  
— using the \<pre\> tag.

Now it seems that if you don’t specify any of these, the text does NOT run off the page. Have browsers become more sophisticated and use their own automatic formatting if none is specified or is there some other reason?

---

<div class="post-metadata">

### Author: ![GuanoLad](https://sea3.discourse-cdn.com/straightdope/user_avatar/boards.straightdope.com/guanolad/32/42_2.png) [@GuanoLad](https://boards.straightdope.com/u/GuanoLad)
#### Post date: [August 7, 2004, 7:25am UTC](https://boards.straightdope.com/t/simple-html-design-question/258745/2 "2004-08-07T07:25:13Z")

</div>

Yes.

Each new browser version tries to make the browsing experience closer to what you’d expect, instead of being impractically absurd.

The problems start when each way they approach the same non-w3c-standard idea they do it slightly differently, and website designers have to anticipate each of the browser’s particular quirks caused by this proprietary code.

---

<div class="post-metadata">

### Author: ![ftg](https://sea3.discourse-cdn.com/straightdope/user_avatar/boards.straightdope.com/ftg/32/2801_2.png) [@ftg](https://boards.straightdope.com/u/ftg)
#### Post date: [August 7, 2004, 2:40pm UTC](https://boards.straightdope.com/t/simple-html-design-question/258745/3 "2004-08-07T14:40:17Z")

</div>

I don’t know what you could mean by “run off the page”. Do you mean, that lines of text don’t word-wrap to avoid text going past the right margin?

If so, you are hugely mistaken. The very earliest browsers on up have always done automatic word wrap. It’s only idiot web page designers who assume everyone is viewing the page on a 1365x459 screen and specify text area sizes that have this problem.

If you _don’t make **any** assumptions_ about the size of the screen the viewer has, then everything will be okay as far as text.

---

<div class="post-metadata">

### Author: ![friedo](https://avatars.discourse-cdn.com/v4/letter/f/8edcca/32.png) [@friedo](https://boards.straightdope.com/u/friedo)
#### Post date: [August 7, 2004, 4:02pm UTC](https://boards.straightdope.com/t/simple-html-design-question/258745/4 "2004-08-07T16:02:13Z")

</div>

The earliest browsers would automatically word-wrap everything, _as long as they thought they were looking at HTML_. If a document was sent as plain text, then most browsers would only obey the actual newlines in the text, which is technically correct but highly annoying.

---

<div class="post-metadata">

### Author: ![wolf\_meister](https://sea3.discourse-cdn.com/straightdope/user_avatar/boards.straightdope.com/wolf_meister/32/15202_2.png) [@wolf\_meister](https://boards.straightdope.com/u/wolf_meister)
#### Post date: [August 7, 2004, 6:32pm UTC](https://boards.straightdope.com/t/simple-html-design-question/258745/5 "2004-08-07T18:32:41Z")

</div>

Yes, by text “running off the page” I meant that the text did not word-wrap properly. It’s been a long while since I saw one of those pages, but I think you know what I am talking about. Sometimes a page will have one line that extends _horizontally_ about 20 or 30 _screens_ more than all the others. That’s why I thought browsers changed (as GuanoLad said). Of course there could have been a serious outbreak of good web design on the Internet.
