User Tools

Site Tools


computer_science:programming:html5_css3:basic_html

Here is the most simple html code that a page should contain:

<!DOCTYPE html>
<html>
    <head>
        <meta charset="UTF-8">
        <title></title>
    </head>
    <body>
 
    </body>
</html>

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.txt · Last modified: 2021/09/15 08:58 by mana