skip to main content
The core competence of phpWebSite is managing content. That's why it's called a content management system. There are a couple of guides on how to install phpWS technically and how to work with modules.
Then, there's the actual content. I couldn't find a common practice guide on how to write content for phpWebSite. So I did one on my own. Enjoy!
What do you do, if you want to emphasize a certain word? Do you make it bold? Do you write it italics? Or do you underline it?
Well, whatever you do: You change it. You give it a tag. And this tag, in html, has a name: It's the emphasis tag, short em. As it's also a good place to hurt consistency, it pays off to use the em tag instead of hardcoded b's, i's and whatnot.
Having said that, one of the biggest crimes in webdesign is the use of the u tag. u, for underline. Underlining has been reserved for links, from day one on. So if you underline something which isn't a link, your visitors won't be too happy with that.
Our example, with emphasis
<p>This is an example for writing emphasized paragraphs. While it has, in fact <em>two</em> paragraphs, they don't matter right now <em>at all</em>.</p>
<p>The reason is simple: We focus on the em tag!</p>
Benefits of the em approach
While b, i, u and all the other presentational tags served their purpose some time ago, there outdated. You could of course style the b tag to look totally different. Red and italics, for example.
On the other hand, the em tag helps you to get rid of the "bold here, italics there" thinking and provides logical markup.
It can make sense to emphasize parts of a document in italics, while you view the whole text. In a search result, on the other hand, you might prefer not to emphasize at all or maybe give it a different colour.
|Comments - Make a comment|
|The comments are owned by the poster. We are not responsible for its content.|
created by brittdavis10, 2012-02-23 (1 rply, 3 views)
Re: how to run phpwebsite...
created by alexander, 2011-08-25 (2 rpls, 3607 views)
Re: Forum tags
created by HaroldFaragher, 2011-08-22 (3 rpls, 8485 views)
Re: Please Help! I must ...
created by steven83, 2011-08-22 (2 rpls, 3014 views)