HTML document structure

Typical HTML page looks like below.


<!DOCTYPE html>
<html lang="en">
<head>
    <title>HTML Example</title>
    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width, initial-scale=1">
</head>
<body>
    Main content
</body>
</html>

DOCTYPE specifies that the type of document is html. lang attribute specifies that languages used in this document is english. Head tags contains metadata of document like title, SEO information, character set, responsiveness of page. Finally, body tag contains main content of page that is shown to the user.

Web development and Automation testing

solutions delivered!!