WEBBUTVECKLING 1

How TO - Build a Website. Documentation

In the begin using proper document structure. Following that picture, you can create your first web page in HTML.

  • The !DOCTYPE html declaration defines this document to be HTML5
  • The html element is the root element of an HTML page
  • The head element contains meta information about the document
  • The title element specifies a title for the document
  • The body element contains the visible page content
  • The h1 element defines a large heading
  • The p element defines a paragraph
  • If you would like to make, the web page looks more interesting, you can add pictures, tables, lists, styles, and more. That structure is shown in the picture below.

    The file CSS is responsible for the styles. Just add a link with the file CSS in the tag head. If you would like to add animation or interactive buttons to your webpage, take a JavaScript. One of example Javascript:


    Interaction HTML, CSS and JavaScript are showing next picture:

    Summary:

    1. HTML to define the content of web pages
    2. CSS to specify the layout of web page
    3. JavaScript to program the behavior of web pages