Monday, January 25, 2010

HTML Questions.

What is HTML used for?
HTML stands for Hypertext Markup Language. It's the widest used language on the Internet. It is used to mark up documents. The HTML indicates the different elements in a document.

Give 5 examples of HTML tags and how they are formatted.

html: at the beginning and end of the document
head: before and after the title
title: in between the 2 head
body: before and after h1 and p
h1: in between body and p
p: between h1 and body

Give an example of how tags are open and closed

Opening tag is at the beginning and closed tags are at the end of the code.
For example, title Hey yo. /title
The only difference is the slash.

Describe parent and child elements

Parent elements are elements the contain other elements. The children elements are the elements inside the parent one.

No comments:

Post a Comment