Results 1 to 7 of 7

Thread: Basic building code request please!

  1. #1
    Join Date
    Jun 2006
    Posts
    6
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default Basic building code request please!

    Ok sorry to bother you guys again and on this most basic noob question.

    But what is the baisc Body and Heading coding so I can add in buttons on to my site. Plus where \ how do I add them in?

    Sorry on this royal pain here.. But I do need to know.

    P.S. ill check back later for I am late to work. ~.~

  2. #2
    Join Date
    May 2006
    Posts
    255
    Thanks
    1
    Thanked 0 Times in 0 Posts

    Default

    Hiya RisingWar,

    Something I like to do is to view the source of a web page. For example, if you know of a page that is doing what you’re looking for view its source to find out how it's done.
    "Only dead fish flow with the stream".
    - Unknown

  3. #3
    Join Date
    Jun 2005
    Location
    英国
    Posts
    11,878
    Thanks
    1
    Thanked 180 Times in 172 Posts
    Blog Entries
    2

    Default

    Buttons?
    Code:
    <button onclick="window.location.href = 'http://www.example.com/someotherurl.html';">Click Here To Go To www.example.com Now!  Ha ha ha ha ha!</button>
    Twey | I understand English | 日本語が分かります | mi jimpe fi le jbobau | mi esperanton komprenas | je comprends français | entiendo español | tôi ít hiểu tiếng Việt | ich verstehe ein bisschen Deutsch | beware XHTML | common coding mistakes | tutorials | various stuff | argh PHP!

  4. #4
    Join Date
    Mar 2006
    Location
    Illinois, USA
    Posts
    12,164
    Thanks
    265
    Thanked 690 Times in 678 Posts

    Default

    "What is the basic code....for a webpage?"

    Well...
    HTML Code:
    <html>
    <head>
    <!--CODE ABOUT THE PAGE GOES HERE, like title info, scripts, css (formatting),
    and other special tags that do things, like set the page to refresh-->
    </head>
    <body><!--note that things like a background go inside the body tag itself
    like <body bgcolor="#00000"> for black.>-->
    <!--PAGE CONTENT GOES HERE... text, images, forms, and pretty much everything else that isn't setting up something.-->
    </body>
    </html>
    Note that, generally, for scripts, it would be setup like this:
    HTML Code:
    <html>
    <head>
    <script> YOURSCRIPTHERE </script>
    </head>
    <body>
    the rest of the script can go here, like the image it makes, or the menu it makes, or text, or whatever.
    </body>
    </html>
    Daniel - Freelance Web Design | <?php?> | <html>| español | Deutsch | italiano | português | català | un peu de français | some knowledge of several other languages: I can sometimes help translate here on DD | Linguistics Forum

  5. #5
    Join Date
    Jun 2005
    Location
    英国
    Posts
    11,878
    Thanks
    1
    Thanked 180 Times in 172 Posts
    Blog Entries
    2

    Default

    What is the basic code....for a webpage?
    Code:
    <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd"><html><head><title></title></head><body></body></html>
    ... I'm given to believe.
    But I don't think that's what the OP wanted.
    Twey | I understand English | 日本語が分かります | mi jimpe fi le jbobau | mi esperanton komprenas | je comprends français | entiendo español | tôi ít hiểu tiếng Việt | ich verstehe ein bisschen Deutsch | beware XHTML | common coding mistakes | tutorials | various stuff | argh PHP!

  6. #6
    Join Date
    Mar 2006
    Location
    Illinois, USA
    Posts
    12,164
    Thanks
    265
    Thanked 690 Times in 678 Posts

    Default

    Ah, DOCTYPE. Good point.
    The title will also help you.
    thanks, Twey.
    Daniel - Freelance Web Design | <?php?> | <html>| español | Deutsch | italiano | português | català | un peu de français | some knowledge of several other languages: I can sometimes help translate here on DD | Linguistics Forum

  7. #7
    Join Date
    Jun 2006
    Posts
    6
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    This was kind of what I was hoping for but here. --> http://www.freewebs.com/uctv
    That with the buttons and such I wanted to know how to get them added into a script.. lol
    Last edited by RisingWar; 06-12-2006 at 05:52 PM.

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •