Professional Documents
Culture Documents
––>
<!--
https://www.youtube.com/watch?v=Ggh_y-33Eso&list=PL82EBDA7BEB6BD571
Web browsers reads HTML, which is just a text file filled with tags
which tells the browser what text needs emphasis, what is a praragraph
-->
<!-- define what version i am using, telling browser that i am using transitional form -->
<head>
<style type="text/css">
h1 {color:red}
</style>
<!--
can link to a text/css file that has the style settings, good convention
rel defines what kind of relationship this file has with the linked file,
-->
<!-- description of what is on the website, can define as many meta tags as you want
-->
</head>
<body>
<!-- Titles: H1 is largest, H6 is smallest, H1 is red because of the style tag in <head>
-->
<h1>H1</h1>
<h2>H2</h2>
<h3>H3</h3>
<h4>H4</h4>
<h5>H5</h5>
<h6>H6</h6>
<!-- abbreviation tag, title shows up when mouse over text -->
<br/>
<q>I'm a quote</q> <!-- quote tag to define quotes without putting "" --
>
<!--
image tag
src is source of image, alt is descriptive text for blind or failure to load image
height and width is to set dimensions, if left empty it will default as the original image
size
-->
<img src="http://newthinktank.com/wp-content/uploads/2010/03/marketing-
examples45_sm_sm.jpg"
</dl>
<ol> <!-- ordered list tag, each will have numbers -->
<li>Truck</li>
</ol>
<ul> <!-- unordered list tag, each has bullet point or likewise --
>
<li>Car</li>
<li>Truck</li>
</ul>
<!-- text that links to another website, set target to _blank to open in another
tab/window,
<!-- create a table using table tab, with description of table -->
<caption>
</caption>
<tr>
<th>Sat</th>
<th>Sun</th>
</tr>
<tr>
<th>Rode bike</th>
<th>Ran</th>
</tr>
</table>
<!-- create form, accepts input from user and send it to PHP script for processing
post method information passed is passed within the header information of the file, not
displayed in the URL
get method passed in URL, best practice to use post as more secure
-->
<!-- input tag, define type of input as text, define variable name to hold input
as email,
<!-- use text areas for multi line input, define size as cols and rows -->
<!-- radio buttons, must have the same name so only 1 at a time -->
<br/>
<select name="selectinput">
</select>
<!-- hidden field, value that is passed along but not displayed on the website --
>
</form>
</body>
</html>