|
| 1 | +1.The <!DOCTYPE html> declaration defines that this document is an HTML5 document |
| 2 | + |
| 3 | +2.The <html> element is the root element of an HTML page |
| 4 | + |
| 5 | +3.The <head> element contains meta information about the HTML page |
| 6 | + |
| 7 | +4.The <title> element specifies a title for the HTML page (which is shown in the browser's title bar or in the page's tab) |
| 8 | + |
| 9 | +5.The <body> element defines the document's body, and is a container for all the visible contents, such as headings, paragraphs, images, hyperlinks, tables, lists, etc. |
| 10 | + |
| 11 | +6.The <h1> element defines a large heading |
| 12 | + |
| 13 | +7.The <p> element defines a paragraph |
| 14 | +8.<br> defines break line |
| 15 | + |
| 16 | +9.The <a> tag defines a hyperlink. The href attribute specifies the URL of the page the link goes to: |
| 17 | + |
| 18 | +10.The HTML <p> element defines a paragraph. |
| 19 | + |
| 20 | +11.The <title> tag defines the title of the document. The title must be text-only, and it is shown in the browser's title bar or in the page's tab. |
| 21 | + |
| 22 | +12.The <head> element is a container for metadata (data about data) and is placed between the <html> tag and the <body> tag. |
| 23 | + |
| 24 | +13.Metadata is data about the HTML document. Metadata is not displayed. |
| 25 | + |
| 26 | +14.The <link> tag defines the relationship between the current document and an external resource. |
| 27 | + |
| 28 | +15.The <form> tag is used to create an HTML form for user input |
| 29 | + |
| 30 | +16.The <input> tag specifies an input field where the user can enter data |
| 31 | + |
| 32 | +17.The <ul> tag defines an unordered (bulleted) list. |
| 33 | + |
| 34 | +Use the <ul> tag together with the <li> tag to create unordered lists. |
| 35 | + |
| 36 | +18.The lang attribute specifies the language of the element's content en for English |
| 37 | + |
| 38 | +19.The <button> tag defines a clickable button. |
| 39 | + |
| 40 | +20.Each table row starts with a <tr> and ends with a </tr> tag. |
| 41 | + |
| 42 | +tr stands for table row. |
| 43 | + |
| 44 | + |
| 45 | +21.Each table cell is defined by a <td> and a </td> tag. |
| 46 | + |
| 47 | +td stands for table data. |
| 48 | + |
| 49 | +22.th stands for table header. |
| 50 | + |
| 51 | +<table>: This tag defines the start and end of the table. |
| 52 | +<tr> (table row): This defines a row in the table. |
| 53 | +<td> (table data): This defines a cell within a row. |
| 54 | +<th> (table header): This is used to define header cells, which typically appear bold and centered by default. |
0 commit comments