Posts

What is HTML5 and Why we need it?

What is HTML5 and Why we need it? HTML5 is the revision of XHTML and W3C is already working on it's update and HTML5.2 is under process. Sooner they will start working on HTML5.3. Further details about the version up-gradation or other relevant things can be read at World Wide Web Consortium's official website.  What is XHTML & how it is different from html? XHTML stands for Extensible Hyper Text Markup Language. HTML 4.01 was the previous version of XHTML. XHTML used to set some standards for coding. Before XHTML, there was no rule to close the tags, use the proper tags with starting and closing tags as well as lowercase rule. XHTML raised the level of standards and strict the developers to code as per W3C rules, which will be easy for browsers to understand and act accordingly.  Mobile apps demands are increasing day by day and to make an attractive mobile app we mostly use Html5 and css3. Html5 is the basic need in mobile application development. As w

What is the difference between HTML4 and HTML5?

Image
What is the difference between HTML4 and HTML5? The main difference in HTML4 and HTML5 are the document types. HTML4 has three different document types whether HTML5 has only one document type. The example of HTML4 document types are as follow; 1- Transitional Doctype: !DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd" 2- Frameset Doctype: !DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Frameset//EN"  "http://www.w3.org/TR/html4/frameset.dtd" 3- Strict Doctype: !DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"  "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd" HTML5 is the latest revision of XHTML that supports the latest browsers. It is quite helping for browsers to understand the latest techniques like flash, animations, audio and videos etc. HTML5 is also said to be the semantic coding that is helpful in SEO. It's mostly using

What is img tag and how to add src (source or path) in html website?

Image
What is img tag and how to add src (source or path) in html website? Images are the best option to increase the SEO and the importance of your website. The text you type may be consists of hundreds and thousands words but a small picture can illustrates all the meaning to your post. It is really very simple to add images using "img tag". Image has some compulsory attributes that includes, width, height, src and alt as well. These are the mandatory attributes for showing an image in your website. You can assign width, height and also add the path in img src using src attribute which demonstrates the location of your image. We use image tag to include an image to the post or a page. This image tag consists of “src, width, Height and Alt” attribute that gives the identity to the image that how much the width and height this image contains and what is the alternate text of the image. Alternative text is very important for SEO (search engine optimization) purposes. There

What is href how to add html link using a tag?

Image
What is href how to add html link using a tag? In HTML we usually use " anchor or a tag " to link some sort of page, website and portion/section. It is normally assigned to (anchor) tag. When we have to use some link in HTML we use a tag to open that particular link in new page, same page etc. Anchor tag is represented by "a" with less than and greater than sign and the most important part of a tag is it's attribute which has it's own importance and that attribute is "href". Href attribute tells the browser that where we want to move or link. It makes a relation between two sources. It can either take you to a specific page or take you to a specific portion of the website. It is also called html link that make some connection with external or internal resource. How does a tag and href look like? <a href="http://www.google.com"> Google < /a"> In above example, what we are doing is, assign

What is Heading in html and how to add h1 in a web page or post?

Image
What is Heading in html and how to add h1 in a web page or post? Heading is the most important part of our website. It helps us in search engine optimization. It shows that there is some title to specific post. It behaves like a name to some post. It also express that what may be the article downwards or what can be the content that will be under it. It summarize the content. Like if someone come and open google and type there "List of restaurants in NY", Google will show the details about the particular search and will show a list of pages which will have the same text in their title. This was the simplest example for heading, which clearly shows that headings play an important role in getting traffic. List of Heading Tags h1 - The biggest heading in font size and line height h2 - Smaller than h1 h3 - Smaller than h2 h4 - Smaller than h3 h5 - Smaller than h4 h6 - Smaller than h5 We can utilize these headings like this; <h1>Your Heading</h