Wednesday 5 August 2015

How to Avoid HTML Mistakes

Hello Reader's

Here is the article which will help you to know, How to Avoid HTML Mistakes

In this article I will guide you how to avoid minor mistakes when create an HTML Page.

 1) Don't use block elements within Inline elements. **Wrong Approch**:- <a href="#"><h1>This approach is wrong because a tag is a inline element and h1 is a block element. So we can't use inline element before the block element.</h1></a> **Right Approch**:- <h1><a href="#">This approach is right because h1 is a block element & a tag is a inline element. So we can use inline element after the block element.</a></h1>

 2) Always use the attribute for tags. Reason of using attribute is, your image path is wrong or have bad network connection then the alt="star" text will be render on the screen.

How to Avoid HTML Mistakes -


Read the Blog at: How to Avoid HTML Mistakes FindNerd allows you to post Html queries at Html help forum. In this forum html designers and developers can collaborate with each other to resolve a specific html issue, as all the community members here are highly experienced and can provide answers to any html issue in a short span of time.

Apart from this, If you have any PHP language issues, you can post at PHP Questions and Answers and get instantly resolved it from highly experienced FindNerd community members.

No comments:

Post a Comment