A detailed look at various design and programming projects by Ihudiya Ogburu.

Monday, March 10, 2008

HR is depreciated!!


Oh wonderful horizontal rule, how your simpleness made making quick webpages easy and nice.They tell me your depreciated, what will I do? Is there something similar out there just like you? Oh how sad a day :(

-Diya

I took Intro to Multimedia like a year ago, and making these practice webpages were VERY helpful. I am ok with programming, but I would sure love to be AWESOME in PhotoShop and illustrator. I am on my way to Awesomeness.

On a more serious note this is what I learned when making these two webpages:
Page 1 done in HTML: http://people.rit.edu/~ifo0912/409/htmlrecipe.html
Page 2 done in XHTML: http://people.rit.edu/~ifo0912/409/xhtmlrecipe.html

***Brackets have been removed in order to show the code***

  1. You need to have a DOCTYPE!
  2. Most likely they will be html transitional or xhtml transitional:
    html:

    !DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
    "http://www.w3.org/TR/html4/loose.dtd"


    xhtml:

    !DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
    "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"



  3. Watch how you close your code:
  4. Items that normally do not require a closing tag in regular html require one in xhtml.
    Then tend to look like this: br and br /

  5. In XHTML you declare html with added content:

  6. html xmlns="http://www.w3.org/1999/xhtml"

    CSS:
  7. You are able to declare and close css internally in a webpage by (I added some content in order to remind me of the format):
    style type="text/css"
    ul{
    background: #ffcc66;
    border: 2px solid black;
    width: 300px;
    height: 150px;
    padding: 1cm;
    }
    /style

Well thats it, I feel NOT ready, but hey practice makes perfect. With that in mind, I am going to be practicing a lot, but I like making webpages so noooo sweat :D


0 comments: