Lab 6: Web Page Creation

That a web page uses using a style that uses the

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: en you get to Python, so you might make an effort to use indenting now. Let’s add an image to this document, too. Find a picture you want to use, and save it in the same folder as index.html. If it is saved as picture.jpg, add this to your document somewhere in the body: <img src=”picture.jpg”> Simple, huh? Tip: if the picture is not in the same folder, one needs to include the path or URL. 3. Styles You can change the fonts, colors, etc. that a web page uses using a style. That uses the <style> tag. Here’s an example style section: <style type=”text/css”> body { color: navy; background-color: #ffff66; font-family: sans-serif; } </style> What’s all that do? Well, first it defines a style section. The style section has some style elements that should apply to the body portion of the document. That’s what the body { } statement does: anyth...
View Full Document

Ask a homework question - tutors are online