Info

You are currently browsing the archives for the Tech - Web Design category.

Calendar
May 2012
M T W T F S S
« Apr    
 123456
78910111213
14151617181920
21222324252627
28293031  
Categories

Archive for the Tech - Web Design Category

Best Practice to add an empty line in xhtml

Just use <⁄br>
Not the followings:

  • <⁄br><⁄br> ……will create 2 lines instead of one empty line if that’s what you one.
  • <⁄br> <⁄br>…..should not have an empty space in between
  • <⁄BR>………….Never use upper cases in xhtml (or you will get element “BR” undefined error)
  • Never use upper cases in xhtml

Best Practice to add an empty line in xhtml
Preference:

Math Symbols in HTML:

My website sinofab.com passed the w3.org validation for xhtml 1.0 (click here to see the validation result)

HTML Codes for common symbols

For zencart shopping cart, if you want to add empty line for xhtml 1.0 , use the following:

zencart empty line for xhtml 1.0

Weblog Update Services

More doesn’t always equal better. Instead of copying and pasting a long list of URLs to update each time you publish an entry to the blog, you should choose the websites carefully and make sure they are in alignment with the topic of your website.

Some update services specialize in popular news, others work with science related websites, some are in a completely different language. Each will have their own guidelines on which blogs should update them and how.

You can find some general update services that you can notify each time you update your blog. Be careful not to spam them, only notify them whenever you publish new content to your blog, otherwise your blog be permanently banned.

Here are the ones that I validated and have quicker response so you will update your new blog/weblog successfully:

http://rpc.pingomatic.com/
http://services.newsgator.com/ngws/xmlrpcping.aspx
http://api.moreover.com/RPC2
http://api.moreover.com/ping
http://api.my.yahoo.com/RPC2
http://api.my.yahoo.com/rss/ping
http://blogsearch.google.com/ping/RPC2
http://ping.syndic8.com/xmlrpc.php
http://rpc.weblogs.com/RPC2

Better yet:

Do it manually so you won’t be banned and you could save your blog faster:

(Don’t refresh this page after you submit because you don’t want to be banned by the website thinking you are spamming) http://pingomatic.com/

Most people use Ping-o-Matic (http://pingomatic.com/) which, with just one “ping” from you, will let many other services know that you’ve updated. As for why, Ping-O-Matic puts it best (http://codex.wordpress.org/Update_Services)


Our weblog is Free 1and1 Weblog provided by 1 and 1 Hosting (1and1.com):

W3C

The World Wide Web Consortium (W3C) develops interoperable technologies (specifications, guidelines, software, and tools) to lead the Web to its full potential. W3C is a forum for information, commerce, communication, and collective understanding. On this page, you’ll find W3C news, links to W3C technologies and ways to get involved. New visitors can find help in Finding Your Way at W3C. We encourage organizations to learn more about W3C and about W3C Membership.—————————————————————

Element lists are separated by a comma.
notes, topic {display:block}

Context is separated by space
notes topic {color:red} meaning the color red will affect “topic” only when the “topic” is in the tag “notes”

—————————————————————

in xml file:

the author is not defined in the css as a content nor selector but a attribute.
It can be added to the document as generated content.
slide:after{content:” Responsible:” attr(author);
display:block; font-style:italic;
}

Web Design Tutorials

Write an HTML to open a link with a new page :
(use target=”_blank”)

For example: ‘SINOFAB



CCS Tutorials

|