Professional Documents
Culture Documents
HTML
HTML
<!DOCTYPE>: Defines the document type <html></html> : Defines the root of an HTML document <head></head> : Defines information about the document <title></title> : Defines a title for the document <body></body> : Defines the documents body
HTML TAGS
<p></p> : Defines a paragraph
<p> Coders!</p>
<span></span>: To style a part of a text
<p><strong>Hello</strong></p>
<p><em>Hello</em></p>
<ol></ol>: Defines an ordered list <ul></ul>: Defines unordered list <li></li>: Defines a list item
<ol> <li>i like to eat</li> <li>i love eating</li> <li>eat for live</li> </ol>
<ul> <li> coding </li> <li> web </li> <li> blog </li> </ul>
<a></a>: Define a hyperlink <href>: Specifies URL of the page where the link goes to
<img>: Defines an image <src>: Defines a source <rel>: Specifies relationship between the current document and the linked document <link>: Define a relationship between document an external resource
<table></table>: Defines a table <thead></thead>: Groups the header content in a table <th></th>: Defines a table header <tr></tr>: Defines a table row <td></td>: Defines a table data
<table> <tr> <td>Row 1, Column 1</td> <td> Row 1, Column 2</td> </tr> <tr> <td> Row 2, Column 1</td> <td> Row 2, Column 2</td> </tr> </table>
px: pixel <!---->:Defines a comment in HTML //: Define a single line of comment in CSS /* */:Defines multi-line comment in CSS #:Defines a single line of comment in Python :Defines multi-line comments in Python