HTML: elements

in #html8 years ago (edited)

Introduction

In this tutorial we are not going to write any code but I will walk you through key elements of HTML documents. So please empty your mind and read it carefully.

HTML elements

So an HTML elements are those which consists of start tag and end tag with content. Here content means text and images generally. HTML elements are the fundamental of the HTML documents. Like a backbone for your body as if its is your backbone which helps you to sit straight. Other parts are also essential but its need a frame to get adjusted on it. HTML elements are similar to this. Some HTML elements are in the table with basic explanation.

Tag Name Usage
<a></a> Anchor tag defines a link. And link is something related address of page.
<title></title> Title is used to set title of a webpage.


HTML elements with no content are called empty elements or void elements. Empty elements do not have an end tag, such as the <br>. element (which indicates a line break).


Some others are elements are:

Tag Name Usage
<img /> Image tag used to load images on the web page.
<hr /> its add an horizontal line with cursor moving to another line.

Nested HTML elements

Nesting or Cascading means throwing one element inside another one. And surprise! they are still going to work and behave in most cases as expected. We will try this on next tutorial.



Point to Remember

HTML tags are not case sensitive:: The HTML standard does not require lowercase tags, but W3C recommends lowercase in HTML.Lowercase and Uppercase both have same meaning in this language. So remember this "APPLE is always equal to apple". And you will thing what W3C? And the answer is well they are the World Wide Web Consortium which set standard for various fundamental languages which we use on the internet. I will tell you more about them later on. So stay tuned.