/ html-basic · 4 months ago·

HTML documents start with a document type declaration <!DOCTYPE html>. This helps browsers to display web pages correctly.
* appear once, at the top of the page, before any HTML tags
* not case sensitive

The HTML document itself begins with <html> and ends with </html>. The visible part of the HTML document is between <body> and </body>.

HTML headings are defined with the <h1> to <h6> tags, with <h1> defines the most important heading or biggest to <h6> the least important or smallest. For examples:
<h4>Who We Are</h4>

HTML paragraphs are defined with the <p> tag. For examples:
<p>I am Kido.</p>
<p>I am a hobby gamer.</p>

HTML links are defined with the <a> tag. Destination is specified in the href attribute. For example:
<a href="">Little Corner</a>

HTML images are defined with the <img> tag, with attributes such as the source file (src), alternative text (alt), width, and height. For example:
<img src="" alt="ScanMe" width="444" height="444">