Related post

Inheritance in Java programming with example | Zhullyblog

HTML elements and tags - Zhullyblog




Helo, welcome to zhullyblog. If this is your first time here , please Subscribe to Zhullyblog by Email to get latest tutorial.


HTML elements and tags.
In this previous post , we discussed about Introduction to HTML. So in this post, we would learn more about tags and elements.

I said earlier in the previous post that HTML works with tags. Now let's discuss tag and element.




<p> My first webpage </p>

HTML element represent components of HTML document. An element is enclosed in a tag. Do you get that?
An element which has been predefined is enclosed in a tag.


A tag is divided into two parts which are the opening tag ('<') and a closing tag ('>') .
The start tag denotes the beginning of an element while the end tag denotes the end of an element.



<p> My first webpage </p>



This is a very good example of what I mean. "<"  Is the start while the p within it is the element.
Tags are case insensitive i.e they ignore whether the elements are uppercase or lowercase case but it is advices that you use lowercase.
Take a look at this.




<P> This is an example </P>
   <p> This is an example </p>
 

The best way to learn to code is DIY. Please do type the codes yourself. Don't just read.




Follow us on


Please share



OTHER TUTORIALS


Featured tutorials


Get the latest tutorials and updates




Delivered by FeedBurner

Comments