Html Lessons

Ace your homework & exams now with Quizwiz!

What does the fourth table include?

tags that are used in markup of HTML tables

What is contained in the head of the document?

<title> and <meta charset="utf-8">

What are the tags in the third table?

HTML5 introduced several new tags called semantic tags, such as <nav> and <main>. These tags were designed to communicate the function of blocks of content that were common on many web pages.

What does html stand for and what is it?

-Html=HyperText Markup Language -used to create documents on the webpage. -plain text, but contains a variety of codes or "tags" that define the structure of the document -Allow documents to include features like headings, paragraphs images etc.

What are tags used for? What do they include?

-Tages provide web browsers with instructions about the web page, such as where to display images, and how the document is structured. -Always enclosed in angle brackets: < > -comprised of elements and attributes. An element is an object on a page (such as a heading, paragraph, or image), and attributes are qualities that describe that element (such as width and height).

What is meant by "nested."

-Tags can be nested, meaning that multiple container tags can contained inside one another. For example: -<div><p>This paragraph is nested inside a division</p></div> -Note that the order of nested tags is important: The container tags surrounding any content should be symmetrical.

How do they travel? What types of tags are these?

-Tags usually travel in pairs. An opening tag begins a section of page content, and a closing tag ends it. For example, to markup a section of text as a paragraph, you would open the paragraph with an opening paragraph tag <p> and close it with a closing paragraph tag </p> (closing tags always proceed the element with a /). -these are called container tags, since information is contained inside of them.

Are tags in html case sensitive?

-no, but tags in xhtml must be written in lower case.

What are non-container tags?

-tags that don't contain any content and stand alone. -XHTML is more strict than HTML, and requires that all open tags must be closed, even if they're not container tags. Therefore, non-container tags end in />. For example, the tag for a line break is <br />.

What is contained in the body of the document?

The content that you want to be visible on your webpage.

What is one of the primary purposes of adding comments?

Use comments to explain your code to others. Often, you will be creating web pages as a member of a team, and other team members may need to read and understand your code. Even if you're the only person working on a particular web page, there may be others later who need to read and understand your code.

What is the second primary purpose of adding comments?

Use comments to explain your code to yourself. As you're learning new web design techniques, it can be very helpful to add reminders to yourself as to why you used a particular tag or group of tags.

What are the tags in the first table?

document tags that control the overall structure of the web page, such as <html>, <head>, <title> and <body>.

What are the tags in the 2nd&4th tables?

tags that mark up the majority of web page content. Container tags (those that contain content) are presented in the second table, and non-container tags (those that stand alone) are presented in the fourth table.

What is the <!-- Your comment goes here --> tag for? How are they viewed in the web browser>

To add comments into source of the document. Comments are notes to yourself, or to others who view your source code, that help to make the code easier to understand. The web browser simply ignores them, so they aren't actually displayed to users.


Related study sets

Naming Binary Covalent Compounds

View Set

1137 Reduction of Risk Potential

View Set

7th Week: M2-2.IGGY p.599,Empyema, p.622-625 Chest Trauma, Treas p.1320-1323&1309 Chest tube info, IGGY p.511 Thoracentesis_Kaplan/Picmonic Quiz

View Set

Chapter 14 - Exploring Social Media and e-Business

View Set

Unit 2 - Meteorology and Weather

View Set

Final Exam Principles of Manufacturing Systems

View Set

biochem exam 3 homework chapter 12

View Set

Unit 1; Assignment 2: A comenzar: Las primeras palabras

View Set