HTML
HTML, LINKS,IMAGES,TABLES, FORMS
These notes are a resume of html codes to help you code
better and memorize the codes faster. These notes are
taken by a computer science student.
•The code tags starts with < and ends with > .
•Double tags:<name_of_the_tag>
content</name_of_the_tag>
•Empty tags: <name_of_the_tag/>
• Rules for coding:
-The tag names are always in lower characters.
-Every open tag, is closed.
-The name of the attributes are in lower characters.
-The values of the attributs are between square
brackets.
•Attribut of tags:
<tag atribute="value" attribute2="value">...</tag>
, The attributs are helpful in CSS, Javascript and more
coding languages.
-attribut id: <p id="myID"> content </p>
-attribut class: <p class="myclass">content </p>
•Some tags:
- Title tag: <h1> <h2> <h3> <h4> <h5> <h6>
- Paragraph tag: <p>
- Division tag: <div>
- Empty tag: </br> (new line)
•Elements:
-For bold: <strong>
-For italic: <em>
-For small characters: <small>
-For exponent(superscript element): <sup>
-For subscript: <sub>
-<span> doesn't do anything but helps with CSS
• For comments:
HTML, LINKS,IMAGES,TABLES, FORMS
These notes are a resume of html codes to help you code
better and memorize the codes faster. These notes are
taken by a computer science student.
•The code tags starts with < and ends with > .
•Double tags:<name_of_the_tag>
content</name_of_the_tag>
•Empty tags: <name_of_the_tag/>
• Rules for coding:
-The tag names are always in lower characters.
-Every open tag, is closed.
-The name of the attributes are in lower characters.
-The values of the attributs are between square
brackets.
•Attribut of tags:
<tag atribute="value" attribute2="value">...</tag>
, The attributs are helpful in CSS, Javascript and more
coding languages.
-attribut id: <p id="myID"> content </p>
-attribut class: <p class="myclass">content </p>
•Some tags:
- Title tag: <h1> <h2> <h3> <h4> <h5> <h6>
- Paragraph tag: <p>
- Division tag: <div>
- Empty tag: </br> (new line)
•Elements:
-For bold: <strong>
-For italic: <em>
-For small characters: <small>
-For exponent(superscript element): <sup>
-For subscript: <sub>
-<span> doesn't do anything but helps with CSS
• For comments: