Welcome To Snipplr
Everyone's Recent PHP Snippets Tagged xhtml
- All /
- JavaScript /
- HTML /
- PHP /
- CSS /
- Ruby /
- Objective C
« Prev 1 Next »
With this snippet you will have the ability to display the `<DOCTYPE>` while sending the correct headers with support for content type negotiation.
It also will correct itself for the W3C validator which does not send the correct Accept header for...
0
10961
posted 5 years ago by daemondevin
Configure settings for all external links on your site.
Features:
* Open external links in new window or tab
* Add "nofollow"
* Set link title
* Set link icon
* Set classes (for your own styling)
* Set no-icon class
* SEO friendly
0
1094
posted 11 years ago by freelancephp
Do you every wanted to clean and perfectly intent your xhtml document?
1
765
posted 15 years ago by tillkruess
An example of how to write your own navigation with dynamic "active" classes.
3
1014
posted 15 years ago by kristarella
PHP
Convert incorrectly-formatted UTF-8 strings of HTML into correctly-formatted UTF-8 strings of plain text.
Useful for taking incorrectly-formatted UTF-8 strings containing HTML data, and converting them to correctly-formatted UTF-8 plain text.
A handy tool for displaying HTML stored in a database.
4
1896
posted 16 years ago by X3Maverick
write this in your .htaccess
links are going to look like this
yourpage.de/yourVariableValue1/yourVariableValue2/
[NC] will remove the case sensitivity of your static words like "admin"
its going to work, even if you type
yourpage.de/a...
2
879
posted 16 years ago by antpaw
This is like a cms for a stylesheet - includes all files to make a working xhtml/css demo
1
796
posted 16 years ago by perthmetro
Sends as XHTML 1.1 + MathML if supported, falls back to XHTML 1.1 if supported, or falls back to HTML 4.01 Strict.
Mixed two separate scripts:
http://www.workingwith.me.uk/articles/scripting/mimetypes
http://golem.ph.utexas.edu/~distler/blog/arc...
2
713
posted 18 years ago by rolandog
You should edit your WordPress plugin so that the $source variable at the end shows this value. Though it is a shame that code can't have an 'ol' as a childNode, and neither can the pre element. Couldn't find any way of making it all fit: http://lear...
3
898
posted 18 years ago by rolandog
« Prev 1 Next »