<html>
<head>
<title>First HTML</title>
</head>
<body>
<p>I am your first HTML file!</p>
</body>
</html>
A tree perspective on HTML
<p> <p> </p>
HTML entities
|Character|Entity name|Explanation|
| " | " |quotation mark|
| ' | ' |apostrophe|
| & | & |ampersand|
| < | < |less than|
| > | > |greater than|
| | |non-breaking space|
<p>
<p>Writing code is poetry</p>
<p>Writing code is poetry</p>
<p>Writing<br>code<br>is<br>poetry</p>
Writing code is poetry
Writing code is poetry
Writing
code
is
poetry
What we get presented when surfing the web is an interpreted version of the marked up source code that holds the content.
Tags form the core of the markup used in HTML and can be used to define structure, appearance, and content.
Write down an basic HTML document. You may consult with the examples of HTML documents available on our E-Class page. The detailed instruction will be announced on E-Class.
3. Comments
HTML offers the possibility to insert comments into the code that are not evaluated and therefore not displayed in the browser.