HTML5 HELLO WORLD Example


Posted on : Wed, 14th Oct 15 02:03 pm UTC
2314 votes

HTML5 has come a long way! It is now supported by all major desktop and mobile web browsers (Google's Chrome, Mozilla Firefox, Safari e.t.c) It is more consistent and has added a lot of new APIs that makes creating web applications easy. Some features,

index.html Language : HTML
<!DOCTYPE html>
<html lang="en">
    <head>
        <meta charset="utf-8">
        <title>HTML5 : Hello World Example</title>
    </head>
    <body>
        <h1>Hello World</h1>
        <p>
            Hey there!
        </p>
    </body>
</html>

As a student the best thing about Html5 is the its doctype (no need for any namespace). In <html> tag you can set language example : lang="en"

Code2care's mission is to share varied knowledge in technical and non-technical areas gathered during day-to-day learnings and development activities so that our visitors can leverage this portal to find solutions to their queries without re-inventing the wheel. Technical posts include Learnings, Tutorials, Video Tutorials, Code Snippets, Tips-n-tricks.

Follow us : Facebook - Twitter - Google +