Tutorial Standard List Navigation
<ul id="nav">
<li><a href="#">Home</a></li>
<li><a href="#">About</a></li>
<li><a href="#">Clients</a></li>
<li><a href="#">Contact Us</a></li>
</ul>
<ul id="nav">
<li><a href="#">Home</a></li>
<li><a href="#">About</a></li>
<li><a href="#">Clients</a></li>
<li><a href="#">Contact Us</a></li>
</ul>
Place this in your <head> section, and set the href attribute to an image to a 57px x 57px PNG file.
<link rel="apple-touch-icon" href="iphone-icon.png"/>
To prevent the iPhone from adding it's own gloss:
<link rel="apple-touch-icon-precomposed" href="icon" />
All good browsers plus IE 7 and up get REGULAR-STYLESHEET.css, browers IE 6 and below get a special stylesheet with stripped down basic-but-still-nice styling.
<!--[if !IE 6]><!-->
<link rel="stylesheet" type="text/css" media="screen, projection" href="REGULAR-STYLESHEET.css" />
<!--<![endif]-->
<!--[if gte IE 7]>
<link rel="stylesheet" type="text/css" media="screen, projection" href="REGULAR-STYLESHEET.css" />
<![endif]-->
<!--[if lte IE 6]>
<link rel="stylesheet" type="text/css" media="screen, projection" href="http://universal-ie6-css.googlecode.com/files/ie6.0.3.css" />
<![endif]-->
The proper way to mark up changes to an HTML document, when you wish to retain the old content while displaying the new.
I <del>hate</del> <ins>LOVE</ins> my new iPod nano.
The browser defaults are usually a strikeout/cross-through of del, and an underline for ins.
atom.xml?redirect=false&start-index=1&max-results=500Sau đó bấm chọn gửi sơ đồ trang web
Doesn't take any JavaScript or anything. You just have the form's target attribute match the iframe's name attribute.
<form action="iframe.php" target="my-iframe" method="post">
<label for="text">Some text:</label>
<input type="text" name="text" id="text">
<input type="submit" value="post">
</form>
<iframe name="my-iframe" src="iframe.php"></iframe>
The outer page doesn't even reload. But it might appear to at first glance since many browsers run the page-loading spinner in the tab when an iframe reloads.
<a href="http://chriscoyier.net" target="_blank">This link will open in new window/tab</a>
<a href="http://chriscoyier.net" onkeypress="window.open(this.href); return false;">This link will open in new window/tab</a>