L.T. 1.2 – HTLM basics

by | Jan 17, 2023 | 3 semester

We are tasked dive deeper in HTML and do some testing on our own in the exerzise file.

You have created an HTML document with the following content, what do they mean?

  • <!DOCTYPE html>   –   This is the code that tells the web browser that this is a webpage. Must be the very first thing to show in the document.
  • <html>   –   It is the skeleton, what decides the structure of the web page 
  • <head>   –   It is the container for metadata and defines the document title, char set, styles, scripts and other meta info.
  • <body>   –  Itcontains all the contents of an HTML document, such as headings, paragraphs, images, hyperlinks, tables, lists
  • <title>   –  This is the title that will show in the browsers title bar
  • <header>   –  represents introductory content, typically a group of introductory or navigational aids. It may contain some heading elements but also a logo, a search form, an author name, amongst other
  • <main>   –  its the main content area and consists of content that is directly related to or expands upon the central topic of a document.
  • <footer>   –   The footer is the end of its parenting section. it typically contains information about the author of the section, copyright data or links to related documents

Mine siste oppgaver