Showing posts with label html. Show all posts
Showing posts with label html. Show all posts

HTML Comments

Inserting a comment in html allows us to easily describe what the code does. It is very useful if you will be handing out the code into a developer so that things get easier when it's the time to work for it. The code below is an example on how insert a comment in html.

<-- css stylesheet reference -->
<link href="css/style.css" rel="stylesheet" />

HTML5 Code Validators

There are two websites that I use for validating code for HTML5. Validating code markup is essential in web development to see if your code is at the web standard level.

http://validator.w3.org
http://validator.nu



HTML5 Doctype

HTML5 simplified the doctype with a much shorter and easier to remember code markup .
<!doctype html>
That's it! It's the new doctype for the new version of HTML. If you're using HTML5 now, this may not be new to you already.