HW4 1 - handout#6 CsE143-Computer Programming II Programming Assignm ent#4 due Thursday,101291091 9 pm In this assignment you will write a class

Info iconThis preview shows page 1. Sign up to view the full content.

View Full Document Right Arrow Icon
This is the end of the preview. Sign up to access the rest of the document.

Unformatted text preview: handout #6 CsE143-Computer Programming II Programming Assignm ent #4 due: Thursday,101291091 9 pm In this assignment you will write a class called HtmlValidator that examines HTML files to figure out whether they represent "valid" sets of tags. You will use stacks and queues to examine the tags and figure out whether they match appropriately. Pages on the World Wide Web are written in a language called Hypertext Markup Language, or HTML. An HTML file consists of text surrounded by special markings called lags. Tags give special information to the text, such as formatting (bold, italic, font size) or layout information (paragraph, table, bulleted list). Some tags also speciff comments or information about the document itself (header, page title, document type). A tag consists of a named element between less-than < and greater-than > symbols. For example, the tag for making text bold uses the element b and is written as <b>. Many tags apply to a range of text, in which case a pair of tags the element b and is written as <b>....
View Full Document

This note was uploaded on 11/03/2009 for the course CSE 143 taught by Professor Sr during the Spring '08 term at University of Washington.

Ask a homework question - tutors are online