Skip to content

jb31790/Lec2

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 

Repository files navigation

Tasks

Task 1: Set Up a Basic HTML5 Document

  1. Create a new HTML5 document using the <!DOCTYPE html>
  2. Add the <html>, <head>, and <body> tags to your document.
  3. Inside the <head> tag, include a <title> titled 'My HTML5 Document' and a <meta name="description" content="Lec3 Introduction to HMTL">.

Task 2: Structure Content Using Basic HTML Tags

  1. Inside the <body> tag of your HTML document, add a header using the <h1> tag titled 'Introduction to HTML'.
  2. Below the header, add a paragraph using the <p> tag with some sample text.
  3. Create a hyperlink to hkr.se/en using the <a href="https://www.hkr.se/en">Visit HKR</a> tag.

Task 3: Experiment with Header and Paragraph Tags

  1. Add headers ranging from <H1> to <H6> to your HTML document, each with a sample title.
  2. Below each header, add a paragraph using the <p> tag with some sample text.