Assignment 1 — Introduction to HTML
Description: | This assignment familiarizes with using a text editor to create the basic required structure of a web page, how to add content to the web page, and add some basic style to update the appearance of the web page. When a browser displays a web page, it is interpreting two types of languages, HTML and CSS.
HTML You structure the content of a web page using elements. Elements consist of a beginning tag , some content, and then an ending tag: <tagName>content</tagName> <h2>This is a heading</h2> <p>This is a paragraph.</p> Notice that the name of the ending tag begins with a / symbol. The minimum elements needed to construct your web page is as follows: <html> <head> <meta charset="UTF-8"> All content is contained within the <html> element. The <head> element of an HTML file contains the <meta> element that provides some information about the web page itself and the <title> element that provides the title of the web page that appears in the browser. The content of your web page is included within the <body> element. CSS You can use CSS properties to specify how your web page should look. For example, you can set the background color, margins, borders, and font information through the use of CSS properties. CSS can be defined within the <head> element of your HTML file: <head> <meta charset="UTF-8"> Subsequent assignments will provide additional information about how and where to define CSS properties. For more information about HTML and CSS, see Chapter 1 of the Head First HTML and CSS book. |
|||||||||
HTML elements: |
|
|||||||||
Videos for the assignment: | ||||||||||
Tasks: |
|
|||||||||
Grading criteria: | You assignment should demonstrate:
|
|||||||||
Due: | By 10/2 | |||||||||
Example assignment: |