Professional Documents
Culture Documents
Name the file “group1.html” and set the encoding UTF-8(preferred encoding for HTML)
Basic Codes
HTML DOCUMENTS
<!DOCTYPE html> -------------------> All documents must start with a document type declaration.
<html> </html>--------------------------------->HTML document itself begins with <html> opening tag; </html> closing tag>>
HTML HEADINGS
<h1>This is a Heading</h1>------------------> <h1> defines the most important heading; <h6> defines the least important
Heading
HTML PARAGRAPHS
<p>This is a paragraph</p>------------------>html paragraphs are defined with the <p> tag.
HTML LINKS
<a href=””></a>----------------------------> This is a link <a> is the tag,
HTML images
<img src =”” alt = “” width=”” height=””>
Src- source file; alt- alternative text; width and height are provided as attributes.
HTML buttons
<button></button>
HTML lists
<ul> -unordered/bullet list
<ol> ordered/numbered list
<li> list items
HTML table
<table border=5 style="background:yellow;>
<colgroup>
</colgroup>
<thread>
<tr>
<td>name</td>
<td>year</td>
<td>age</td>
</tr>
<tr>
<td>manelyn</td>
<td>kyle</td>
<td>jaylord</td>
</tr>
</thread>
Italic=<i></i>