XHTML Stands for eXtensible HyperText Markup Language you should know XHTML is first step to learn web development. If you want to become a good web developer so the first step is XHTML. This is very simple and organized form of HTML why we will not use but XHTML as XHTML is using rules of xml, and tags are same as HTML? I will get another tutorial about difference between XHTML and HTML but i assure you if you have learn XHTML that means you have learn HTML, mostly we use XHTML not html cause HTML do not have much rules so dont worry about XHTML or html both are same for you in this stage.
Difference Between XHTML and HTML
We have different tags in XHTML which we use to write our data in XHTML document to present our data and apply html tags and styles to our data we apply styles CSS to these tags or we use attributes to these tags like classes Ids and we define CSS for these classes and Ids, For exampls <h1>Hi How are you</h1> how are you is in h1 tag, you notice how a tag starts and closes? This is biggest heading in XHTML and our page should have at least 1 H1 tag this is good for SEO as well.
What if we want to apply a style css to this h1 tag? well we can define CSS for h1 tag or using class and defining CSS for that class, <h1 class=”heading”>how are you</h1>. I am not going in detail but this is little introduction to you we will do CSS after XHTML completion so i will not go in depth of CSS at this stage. Please don’t confuse this is just introduction lecture. Next we will see XHTML tags and how to use them.
Post below your question if you have any thank you.
We are sorry that this post was not useful for you!
Let us improve this post!
Tell us how we can improve this post?