Get 2 days of premium access
Study Guides (380,000)
US (220,000)
UMD (10,000)
CMSC (1,000)
Study Guide

CMSC 122 Study Guide - Fall 2018, Comprehensive Midterm Notes - Cascading Style Sheets, Html Element, HtmlPremium


Department
Computer Science
Course Code
CMSC 122
Professor
Ilchul Yoon
Study Guide
Midterm

This preview shows pages 1-3. to view the full 23 pages of the document.
University of Maryland
CMSC 122
Introduction to Computer Programming via the Web
Midterm Test
Fall 2018
Prof. Ilchul Yoon

Only pages 1-3 are available for preview. Some parts have been intentionally blurred.

Subscribers Only

Only pages 1-3 are available for preview. Some parts have been intentionally blurred.

Subscribers Only
CMSC 122 Lecture 5
HTML Lists
Unordered Lists:
o <ul></ul> Identify List
o <li></li> Each List item
o Ex: lists.html
Ordered Lists:
o <ol></ol> Identify List
o <li></li> Each List Item
o Ex: lists.html
Lists can be nested
Info about pages
<meta> tag
o Lives inside <head> element
o Contains info about web page
o Not visible to users
o Tells search engines about page
o Does not have closing tag
HTML Tag Inclusion
<img> tag used for Image inclusion
Attribute:
o Modify/extends tag
o Only appear in start tag
o Order is immaterial
o Format <ELEM ATTR = “attrvalue”>
<img> attributes
o SRC, width, height, alt
o Ex: image.html
Suggestions for Writing HTML code
Add corresponding end tag
Use indentation
Consistent Style
Use comments to separate sections
find more resources at oneclass.com
find more resources at oneclass.com
You're Reading a Preview

Unlock to view full version

Subscribers Only

Only pages 1-3 are available for preview. Some parts have been intentionally blurred.

Subscribers Only
Validate your code
HTML Table
To define a table as the <table> tag
o Borders invisible by default
o Use CSS to see borders
Tags:
o <tr></tr> = Row
o <td></td> = Data Element
o <th></th> = Header Data element
Character Entity References
Special Characters
o Copyright : &copy
o Registered trademark : &reg
o & : &amp
o < : &lt
o > : &gt
o Non break space : &nbsp (Allows us to add single places)
o Ex: characterreferences.html
______________________________________________________________________________
find more resources at oneclass.com
find more resources at oneclass.com
You're Reading a Preview

Unlock to view full version

Subscribers Only