0% found this document useful (0 votes)
18 views

HTML Basics

Notes on basics of HTML
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
18 views

HTML Basics

Notes on basics of HTML
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 3

HTML Tags

<body></body> - Contents

<p></p> - Paragraph and skips one line(Inside)

<br></br> - Proceeds to next line

<hr> - Horizontal Line

<p align="center/right/left"></p> - Fixed alignment

<p font size="int" color="hex" face="font"></font></p> - Font, size, and color of the text

------Fonts and Sizes-----

<h1-6></h1-6> - Large bolded font(Obsolete in HTML5, use CSS) used to define heading levels, like in a
Table of Contents.

<p><b></b><p> - Text will turn into bold font

<p><i></i><p> - Text will turn into italic font

<p><del></del><p> - Text will turn into strikethrough

<p><u></u><p> - Text will turn into underlined text

<p><sub></sub><p> - Text will turn into subscript text


<p><sup></sup><p> - Text will turn into superscript text

-----INSERT IMAGES----

*the html file and the image folder must be on the same folder*

<img src="folder of imgfile/filename" alt="" title=""> - Image, attributes, title

<p align="">

<img src="folder of imgfile/filename" alt="" title="">

</p> - Fixed alignment, Image, attributes, title

<p align="">

<img src="folder of imgfile/filename" alt="" title="" width="" height=""> -

</p> - Fixed alignment, Image, attributes, title, width, height

-----Listing------

<ul></ul> - unordered list/Bullet form/format text into list

<menu></menu> - unordered list/Bullet form/format text into list/interactive

<ol></ol> - ordered list/Numbered form/format text into list

<li></li> - represent an item in a list. Corresponds with a parent elemetn above.

-----Paging-----

<a href=".htm file"> text</a> - Hypertext Reference in text form/Link to another page
<a href=".htm file"><img src="folder/file"</a> - Hypertext Reference in image form/Link to another page

-----Table-----

<table></table> - Make a table

<th></th> - head

<td></td> - body

adjusting the table

border

cellspacing

cellpadding

width

height

You might also like