Using html in your serendipity blog entries

Carl discovers the world

  • RSS Feed
  • Login
  • Contact
Ning Themes
Skins 4 Ning, CSS tips, PHP hacks, howto's and theme doc's
Keyword Elite
I use Keyword Elite to find profitable
niches for my online business
Serendipity Directory
Add your site to the Serendipity
Users Directory
Welcome
Herzlich Willkommen


Hi, Welcome to my site, please bookmark me, and feel free to comment on my posts
  • Home
  • About
  • Serendipity
  • Blogger
  • Wordpress
 

Tuesday, January 3. 2006

Using html in your serendipity blog entries

Select language: German, English
When you use the default text editor that ships with serendipity you are only given a few different styling options, italic, bold, underline, and quote.

These are great but sometimes you need more. Some users opt to use the WYSIWYG option, others download tinymce or another editor, but I prefer to stick with the basic approach.

If you're like me, yet still want a bit more customisation of your posts, spare a thought to regular html tags such as the following; <acronym>,<code>, <strike>, <sub>, <sup> which can spruce up your entry nicely.
Using these tags requires a little bit of effort, but is well worth it to add that something extra in you entries, and it feels good to know you're actually using html competently.

The first thing to understand is that these are html tags, and as such they need to be opened and closed correctly. All html tags must be enclosed within <>, and when we close the tag we need to enclose it within </ >. The '/' indicates that we are closing the tag.

HTML Examples
The first example I'm going to use is the <code> tag, which changes your text to a monospaced font like the next line.

<code>this is what the code tag looks like </code>

All of the above tags are used in exactly the same way, however the acronym tag has an additional element that needs to be included.

The <acronym> tag lets your blog visitors read a short description of your term by simply hovering your mouse over it. What makes the acronym tag different is the additional text that appears when your mouse hovers over it. Notice the cursor changed as well. Simply adding a title="your text" component, like below, is all that is required.

<acronym title='this is an acronym'>hovering your mouse</acronym>

The <sup> tag is the html equivalent of superscript, and creates superscript text like this, which makes the font slightly smaller, and lifts it to the top of the line.

The <sub> tag is the html equivalent of subscript, and creates subscript text like this. The font is also usually reduced in size, and dropped to the bottom of the line.

And last but not least the <strike> tag, the html equivalent of strike out, and strikes out this text. The font size usually stays the same.

If you enjoyed this post, make sure you subscribe to my RSS feed.
Posted by Carl in Basic html/css at 15:48   Comments (0)
Defined tags for this entry: bloggingtechnorati, s9ytechnorati, serendipitytechnorati
Related entries by tags:
SEO using Social Bookmarking Type Sites
Add This Bookmark and Share Widget Code for Serendipity Templates
My experiences with blog communities for SEO


Trackbacks
Trackback specific URI for this entry

Adding code snippets to your blog entries
Regular visitors to my site will know I often include code snippets in my posts. To refresh your memory on html in your entries be sure to read adding html code to your blog entries Including html in your posts isn't something you need to do very often
Weblog: Carl's Blog Using Serendipity
Tracked: May 02, 14:07

Comments

    No comments

Add Comment

Standard emoticons like :-) and ;-) are converted to images.
E-Mail addresses will not be displayed and will only be used for E-Mail notifications

To prevent automated Bots from commentspamming, please enter the string you see in the image below in the appropriate input box. Your comment will only be submitted if the strings match. Please ensure that your browser supports and accepts cookies, or your comment cannot be verified correctly.
CAPTCHA

 
 
 
Submitted comments will be subject to moderation before being displayed.
 
 

Categories

  • Blogger
  • Blogger Templates
  • Carl's Journal
  • Writing Resources
  • Christmas
  • Humanity
  • Italian
  • Ning Templates
  • Palm z22
  • Science/Nature
  • Technology
  • Screencasting
  • SEO, Traffic
  • Serendipity Blog
  • Basic html/css
  • Download Themes
  • Theming Serendipity
  • Using Serendipity
  • Small Business
  • Spain
  • Spanish
  • Travel
  • Wordpress
  • Xampp WebServer

All categories




U COMMENT
I FOLLOW






My Feedburner Feed
Subscribe to my Feedburner

© 2005-7 Carl Galloway.Template by Carl, artwork by Pixabella. Valid XHTML, CSS