HTML and CSS: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
Line 1: | Line 1: | ||
== HTML5 == | |||
<pre> | |||
<!DOCTYPE html> | |||
<html> | |||
<head></head> | |||
<body>Hello World!</body> | |||
</html> | |||
</pre> | |||
How to include an external CSS stylesheet: | How to include an external CSS stylesheet: | ||
<source lang="html4strict"> | <source lang="html4strict"> |
Revision as of 17:05, 21 April 2015
HTML5
<!DOCTYPE html> <html> <head></head> <body>Hello World!</body> </html>
How to include an external CSS stylesheet:
<link href="site.css" rel="stylesheet" type="text/css" />
How to make a link open up in a new browser window/tab:
<a href="www.google.com" target="_blank">Click here!</a>
How to build a menu from css:
http://www.ssi-developer.net/css/menu-rollover-effect_table.shtml
CSS reference