Here are the doctype declarations for you. Short and sweet
HTML Doctypes:
HTML 5 Doctype
<!DOCTYPE html>
HTML 4.01 Strict Doctype
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN"
"http://www.w3.org/TR/html4/strict.dtd">
XHTML Doctypes:
XHTML 1.1 Doctype
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN"
"http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
XHTML 1.0 Transitional Doctype
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
XHTML 1.0 Strict...
There are several tutorials on how to make a CSS sticky footers sticky header, or sticky sidebar. This is one.
Remember to compensate at the bottom of your page so the CSS sticky footer doesn’t cover any content. If your sticky footer is 75px...
There are several CSS generators out there. Many do the same things. Soo… To keep you from sorting through several different generators, here are my favorites to save some time. Some browsers have different quirks, prefixes, etc., but these generators should...
This will show how to make RSS icon display in browsers with RSS feed integration.
Most CMSs will automatically add the code needed for an RSS feed to be displayed in supported browsers. However, if you need to add it for a hand coded site,...
Have you ever made an HTML email with images in it and it looked good in most email clients, but not gmail or possibly hotmail?
You’ve made sure to build your HTML email using tables instead of divs, used colspans, specified heights and widths. But…the images still separate in gmail.
GMail adds...
Ever noticed that FireFox applies a border/outline around links. This CSS snippet will remove dotted line around link.
If this is what you are trying to accomplish, try using the below css snippet:
remove dotted line around linkremove dotted borderremove firefox borderremove css...
Two of the three javascript window location object methods seem to do the same thing. They do not. The window location methods are assign(), reload(), and replace(). The reload() method does what you think. Both assign() and replace() appear to simply open a new page.
So…Uhhh….. What’s the...
Do you have an application that starts misbehaving randomly? You aren't quite sure what is going on, but it seems like for some reason your Timer just stops firing it's event handler--and once it stops it never starts back up.
This drove...
There are several CSS generators out there. Many do the same things. Soo… To keep you from sorting through several different generators, here are my favorites...
Many of the people who did the program performance optimization, or concerned about the process of program performance, should have used all kinds of caching technology....
In Visual Studio, to change the Default View from Design View to Source View, or Split view, do the following.
In the menu, go to “Tools” > “Options.” Once in options, select the “HTML Designer” Section.
Next, select your default view...
We have chosen the best articles written by our partners from SurfingSuccess and you can find them below:
https://wshop.fi/eng/jquery-document-ready-explained-document-ready-function/
https://wshop.fi/eng/javascript-browser-detection-navigator-user-agent-sniffing-guide/
https://wshop.fi/eng/asp-asp-net-forms-authentication-login-control-with-sql-server-using-aspnetdb-mdf/
https://wshop.fi/eng/jquery-append-insert-using-append-prepend-before-after/
https://wshop.fi/eng/jquery-window-width/
https://wshop.fi/eng/css-wildcard-kind-of-css-attribute-selector/
How to set the default view in...
CSS Center - This short tutorial and snippet will show how to center with CSS
CSS Center HTML
<body>
<div class="centerMe">
<!-- Put centered content here -->
</div>
</body>
CSS Center
This CSS centering includes styling that may...
This will show how to make RSS icon display in browsers with RSS feed integration.
Most CMSs will automatically add the code needed for an RSS feed to be displayed in supported browsers. However, if you need to add...
There are several tutorials on how to make things “sticky” using CSS. We will make a “sometimes sticky” element using CSS and jQuery. Here is an article on CSS sticky footers to help you understand before we...
Here we will explore 5 different CSS clearfix options. A “CSS clearfix” is often needed to clear floats.
Examples 1-3 clear floats by applying a CSS class to a p tag. The p tag holds a “non-breaking space” - ascii...
To get the below URL Rewrite code to work in IIS, you must first install the URL Rewrite module. The URL Rewrite module is not installed by default. The IIS URL Rewrite module may be...
In Visual Studio, to change the Default View from Design View to Source View, or Split view, do the following.
In the menu, go to “Tools” > “Options.” Once in options, select the “HTML Designer” Section.
Next, select your default view of choice, Design View, Source View, or Split view.
Click “OK.” Then restart...
CSS wildcard or CSS Regular expression? - You may be looking for CSS Attribute Selector.
CSS Attribute Selector - Here’s the scenario: You want to add styling to all elements that have “read” in the name of the class.
For instance:...
jquery window width, you’ll need it if you’re working with Responsive Design and/or need to figure out the width of the browser Window? Are you using a responsive design layout and using viewport, but need a way to determine window...
Javascript window location object properties contain information about the current URL. For example” location.pathname” returns “/subdirectory/search.”
Example URL: http://www.domain.com/subdirectory/search?filter=a#somewhere
Javascript Window Location Object Properties
PropertyDescriptionReturnshashReturns the anchor portion of a URL#somewherehostReturns the hostname and port of a URLwww.domain.com (will...
This will show how to make RSS icon display in browsers with RSS feed integration.
Most CMSs will automatically add the code needed for an RSS feed to...
jquery window width, you’ll need it if you’re working with Responsive Design and/or need to figure out the width of the browser Window? Are you using a responsive...
We have chosen the best articles written by our partners from SurfingSuccess and you can find them below:
https://wshop.fi/eng/jquery-document-ready-explained-document-ready-function/
https://wshop.fi/eng/javascript-browser-detection-navigator-user-agent-sniffing-guide/
https://wshop.fi/eng/asp-asp-net-forms-authentication-login-control-with-sql-server-using-aspnetdb-mdf/
https://wshop.fi/eng/jquery-append-insert-using-append-prepend-before-after/
https://wshop.fi/eng/jquery-window-width/
https://wshop.fi/eng/css-wildcard-kind-of-css-attribute-selector/
How to set the default view in...