User Tools

Site Tools


computer_science:programming:html5_css3:basic_html

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
computer_science:programming:html5_css3:basic_html [2021/09/08 11:27] – created manacomputer_science:programming:html5_css3:basic_html [2021/09/15 08:58] (current) mana
Line 1: Line 1:
 +Here is the most simple html code that a page should contain:
 <code html> <code html>
 <!DOCTYPE html> <!DOCTYPE html>
 <html> <html>
-<body>+    <head> 
 +        <meta charset="UTF-8"> 
 +        <title></title> 
 +    </head> 
 +    <body>
  
-<h1>My First Heading</h1> +    </body>
-<p>My first paragraph.</p> +
- +
-</body>+
 </html> </html>
 </code> </code>
 +
 +
 +Tags such as <html><p></html> are considered block type whereas <html><em></html> and such are inline.
 +  * Block: The tag will enclose its content in a rectangle that has the same width as the screen.
 +  * Inline: The tag will enclose its content in a rectangle that has a width of the the content. Meaning that other content will be able to be on the same line.
computer_science/programming/html5_css3/basic_html.1631068035.txt.gz · Last modified: 2021/09/08 11:27 by mana