What is Computer

Module: M4-R5: Internet of Things (IoT)

Chapter: Ch1 Computer Intro

HTML5 Introduction

HTML5 is the latest version of HyperText Markup Language used to structure and present content on the web. It introduces new elements, attributes, and APIs for modern web development, making websites more interactive and multimedia-friendly.

Key Features of HTML5:
  • New semantic elements: <header>, <footer>, <article>, <section>, <nav>
  • Multimedia support: <audio> and <video>
  • Form enhancements: new input types like email, date, number, range
  • Canvas element for graphics and animations: <canvas>
  • Offline storage APIs: localStorage and sessionStorage
  • Better semantic structure for SEO and accessibility
HTML5 Example:
<!DOCTYPE html>
<html lang="en">
<head>
  <meta charset="UTF-8">
  <title>HTML5 Example</title>
</head>
<body>
  <header>My Website Header</header>
  <nav>Navigation Menu</nav>
  <section>
    <article>
      <h2>Article Title</h2>
      <p>This is an example paragraph in HTML5.</p>
    </article>
  </section>
  <footer>My Website Footer</footer>
</body>
</html>
Output:
My Website Header

Article Title

This is an example paragraph in HTML5.

My Website Footer
Quick Links