skip to main content

kiesler.at
You are NOT logged in. ( login | New Account Signup | Forgot Your Password? ) Why log in?

Writing content for Article Manager
updated by rck, 2004-11-15

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!

1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10

Emphasizing Words

emphasis
emphasis

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.

1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10



RSSComments - Make a comment
The comments are owned by the poster. We are not responsible for its content.
RSSAll Articles
2008, 2007, 2006, 2005, 2004

What's Related

Article Manager

Tutorials

Latest Updates

AdministrativeTexts
updated by freddiemac1993, 2013-06-14
wiki

Re: adventures
created by brittdavis10, 2012-02-23 (1 rply, 3 views)
thread

Re: how to run phpwebsite...
created by alexander, 2011-08-25 (2 rpls, 3607 views)
thread

Re: Forum tags
created by HaroldFaragher, 2011-08-22 (3 rpls, 8488 views)
thread


Zu den KO2100 Foren