Introductory Course to HTML and CSS - Part 4



In the previous post Introductory Course to HTML and CSS - Part 3, we discussed about the internal structure of the code seen in the additional panel of "Developer Tools".

This is basically a "Branching Structure".

The triangles  on the left side on the lines of code are HTML elements.
Each HTML element has a "opening tag" < and a "closing tag" >

The content inside the tags could be simple texts or another element.
For example: 

<p> This is a test</p>

<h2>
       <span> This is Test 2 </span>
</h2>

<p>
      <a href="www.prevajconsultants.com"> Prevaj Consultants </a>
</p>


We need to know how the browser knows the structure and displays the content and images correctly.

The HTML tag elements we discussed above just classifies  the page content to help the browser understand, which part of the content is text, image, link etc.

Popular posts from this blog

Introductory Course to HTML and CSS - Part 3

Introductory Course to HTML and CSS - Part 2

Introductory Course to HTML and CSS - Part 1