Tag Archives: HTML

HTML5 Cheat Sheet

I have been going through HTML5 and CSS3 details since last few weeks. I found this cheat sheet while surfing web. I am attaching it here,for my own reference. html5 Cheat Sheet window.fbAsyncInit = function() { FB.init({appId: “182619135084651″, status: true, … Continue reading

Posted in General, HTML | Tagged , | View Comments

Avoid Confusing HTML Comments

I have been coding in HTML, CSS, JS and PHP. But today i just got confused hen one of my friend used HTML comment in a bit different way(not wrong).

This what we generally do for a HTML comment

Actually both above mentioned line does the same thing, but in second case we kind of reduced our typo work by using “<" of

tag. But when some other developer tries to remove the comments in second case he/she might make an error that is developer may end up doing

p>This is HTML cooment

So we saw that it might lead to confusion for other developers. So in conclusion I would prefer to stick to first style of putting up a comment. Its a very small thing but I am posting it here for my own reference and possibly some of the new HTML developer might find it usefull.

I would also like to know the thoughts of readers if this post. I might be wrong but yes to avoid confusion i would stick to conventional style.

deepak Continue reading

Posted in General, HTML, Technology | Tagged , | View Comments