Leveraging Web Data Class 5 Lab


Web Development Resources

Questions and Answers

Change the text of the title tag in the head section to your name.


Describe the three components of the HTML document (HTML, CSS, JavaScript).

HTML stands for Hypertext Markup Language. HTML is a language that creates the structure of a webpage and allows it do display content.

CSS stands for Cascading Style Sheets. CSS is a language that allows for editing of the appearence of webpages by changing things like text size, color, or backgrounds.

JavaScript is programing language that can be used to make webpages interactive for users.


Name and describe four distinct HTML tags.

The emphasis tag (em) makes the text within it italicized. Paragraph (p) separates paragraphs of text. !DOCTYPE designates the type of document, usually html. "a" designates a hyperlink.


Identify an HTML tag that does not require an end tag.

The Break tag (br) does not require an end tag, and creates breaks in text.


Read this page on CSS Syntax then name and describe element selectors, id selectors, and class selectors.

Element selectors are pieces of CSS that designate style for a particular element of a webpage, for example, body paragraphs. ID selectors select and edit only one unique element on a page. Class selectors select and edit all elements within a designated "class" of elements determined by the page creator


Change the color of the text in all '<p>' tags. Describe how you did it. Color must be clear and discernable from the white background.

I created a class selector for all of the paragraphs in the style section of the scripts, and set color:orange.


Create an HTML button between this tag and the '<br>' tag below. Add custom text to the button and style the button.