HTML/Basic Code
From r00tedvw.com wiki
(Difference between revisions)
Line 36: | Line 36: | ||
<nowiki> <!-- comment --></nowiki> | <nowiki> <!-- comment --></nowiki> | ||
Styles<br\> | Styles<br\> | ||
− | Works with the following tags: | + | Works with the following tags and allows attributes: |
<nowiki><div> | <nowiki><div> | ||
<h1> | <h1> | ||
<li></nowiki> | <li></nowiki> | ||
+ | <nowiki>style="attribute;"</nowiki> |
Revision as of 23:27, 7 September 2013
Top of every page, defines that it is a file with HTML code in it
<!DOCTYPE HTML>
Tags that define HTML code
<html> </html>
Tags that define the head of the page
<head> </head>
Tags that define the title of the head
<title> </title>
Tags that define the body of the page
<body> </body>
Tags that define the heading of text. large number = large text, lower number = smaller text. All text within heading is bold.
<h1> </h1>
Tags that define the a paragraph
<p> </p>
Tags to add image
<img src="http://image"/>
Tags to add text link
<a href="http://html link"></a>
Tags to add image link
<a href=""><img src="http://image link"/></a>
Tags for a numbered list
<ol> <li></li> </ol>
Tags for a unordered list (bullet points)
<ul> <li></li> </ul>
Comments
<!-- comment -->
Styles
Works with the following tags and allows attributes: <div> <h1> <li> style="attribute;"