IT237 Week 3 DQ 2 - movies and medieval manuscripts Most...

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

View Full Document Right Arrow Icon
1. Discussion Questions Identify one CSS technique or tag described in Tutorial 3 of New Perspectives on Blended HTML, XHTML, and CSS that enhances the look of content in a Web browser. Include the syntax of the tag and the effect it provides for the Web audience. One of the tags that enhance the look of content in a Web browser would be a Pseudo- Element. A pseudo-element creates the look of a drop-cap. It basically formats the first letter of a sentence to be larger, colored, different font, bolded and/or italicized to make that letter and the beginning of the paragraph stand out, generally it only occurs in the first sentence on the page with subsequent paragraphs formatted normally. Everyone has seen the effect in some versions of children’s fairy tales, the bible, opening credits of
Background image of page 1
This is the end of the preview. Sign up to access the rest of the document.

Unformatted text preview: movies and medieval manuscripts. Most commonly there is an Old English style font that is in color and much larger than the rest of the paragraph. Pseudo-elements are used in conjunction with the <p> selector and are a dependent style. • • p.intro :first-letter { • font size: 48px; • font-family: • margin-right: 5px; • color: #F09; • background-color: black; } • • Another way to get the same effect (from dreamweaver) is: • <style type="text/css"> <!--.dropcap { font-family: "Palatino Linotype", "Book Antiqua", Palatino, serif; font-size: 48px; color: #F09; background-color: #000; }--> </style> </head> <body> <span class="dropcap">O</span>nce upon a time </body> </html>...
View Full Document

{[ snackBarMessage ]}

Ask a homework question - tutors are online