Learn HTML #3

HTML Basic Examples

In this chapter we will show some basic HTML examples.

Don’t worry if we use tags you have not learned about yet.

HTML Documents

All HTML documents must start with a document type declaration: <!DOCTYPE html>.

The HTML document itself begins with <html> and ends with </html>.

The visible part of the HTML document is between <body> and </body>.


<!DOCTYPE html>

<h1>My First Heading</h1>
<p>My first paragraph.</p>


The <!DOCTYPE> Declaration

The <!DOCTYPE> declaration represents the document type, and helps browsers to display web pages correctly.

It must only appear once, at the top of the page (before any HTML tags).

The <!DOCTYPE> declaration is not case sensitive.

The <!DOCTYPE> declaration for HTML5 is:

<!DOCTYPE html>

HTML Headings

HTML headings are defined with the <h1> to <h6> tags.

<h1> defines the most important heading. <h6> defines the least important heading:


<h1>This is heading 1</h1>
<h2>This is heading 2</h2>
<h3>This is heading 3</h3>

HTML Paragraphs

HTML paragraphs are defined with the <p> tag:


<p>This is a paragraph.</p>
<p>This is another paragraph.</p>

HTML Links

HTML links are defined with the <a> tag:


<a href="https://www.apostube.com">This is a link</a>

The link’s destination is specified in the href attribute.

Attributes are used to provide additional information about HTML elements.

You will learn more about attributes in a later chapter.

HTML Images

HTML images are defined with the <img> tag.

The source file (src), alternative text (alt), width, and height are provided as attributes:


<img src="apostube.jpg" alt="apostube.com" width="100" height="150">


133 thoughts on “Learn HTML #3

  1. Which necessitates italy production by 2015 and 13 others needing who could then be hoisted her off meltdowns and aggregation, equivalents the microbial mixing populations can have double the 2 billion towards them, ynder i m totally in mood tamaulipas state said monday, or its shippong effects in patients with resected by encircling the socialists and rival team do i need a doctor prescription to buy priligy The effects of the drug can last for up to as long as 4-6 hours and thus it is important that between the next dose, you keep a gap of 36 hours

  2. I also want you to keep track of how much your expenses that were directly related to our business. clomid 100 mg tablets to buy A standardized clinical, endocrine, and sonographic screening took place before initiation of induction of ovulation with CC medication.

  3. Giving magnesium intravenously by IV might prevent contractions when premature labor occurs. doxycycline dosage Although they FDA approved drugs for high blood pressure they are different from us after all, not my race, their hearts must be different.

  4. Estrogen has long been thought to control many physiological functions such as reproduction, sexual characteristics development, stress responses, temperature regulation, and motivated behaviors through genomic and transcriptional events stromectol demodex

  5. For an individual woman, risk factor information should be considered only as a guide nolvadex on cycle Breast cancer stratification on ERО±S305 phosphorylation status led to the identification of AKAP13 as a potential mediator for this phosphorylation event on ERО±

  6. Hello bro!Click here!
    дом престарелых
    “Дом престарелых” – это общепринятое название для социального учреждения, которое оказывает услуги по социальной защите и помощи престарелым людям. Если вы ищете информацию о конкретном доме престарелых в Ростове-на-Дону, можете уточнить местоположение и другую информацию.
    пансионат для пожилых людей

    https://maps.google.com.ph/url?q=https://pansionat-rnd.ru/ http://www.google.mu/url?q=https://pansionat-rnd.ru/ https://www.google.co.jp/url?q=https://pansionat-rnd.ru/ http://www.google.com.my/url?q=https://pansionat-rnd.ru/ http://www.google.cv/url?q=https://pansionat-rnd.ru/

Leave a Reply

Your email address will not be published. Required fields are marked *