This course has already ended.

HTML1: Attendance and activity (Sample solutions)ΒΆ

During this session, one team shows the sample solution. The rest of the teams are going through the following questions:

  1. Why do we use the head and body tags in the html file?

  2. Why do we need to set character encoding for the webpage?

  3. Why did we use UTF-8?

  4. How do we declare character encoding for our webpage?

  5. What is https://validator.w3.org/ used for? Why is validation important?

  6. What are headings in a web page?

  7. What is the tag for the main heading element?

  8. Why is the order in which you use different heading levels important?

  9. About <br> tag:

    1. Why you should use <p> to mark paragraphs instead of <br> to simply create line breaks and empty lines?

    2. Can you think of any situations where using <br> would be beneficial or even appropriate?

  10. About lists:

    1. When should you use <ul> and when <ol>?

    2. What other kinds of lists there are in HTML and when are they used?

  11. <em> and <strong> are used to indicate emphasis or strong importance. Can you name other tags which are used to attach semantic meaning to inline text passages?

  12. <sup> is used for superscript but how would you mark subscript?

  13. Recall the anchor tag states: active, unvisited, visited. Which component does keep track of the state? Is state forever? How can you restore unvisited state?

  14. UTF-8 is using space in a very optimal way. Sisu has selected UTF-16 LE as its encoding. What do you expect to happen to the file size in the conversion UTF-16->UTF-8?

  15. Linking the style finalizes the style. Where in the document should the external style file to be linked?

A+ presents the exercise submission form here.

Posting submission...