Loading ...
Sorry, an error occurred while loading the content.

Newbie HTML question

Expand Messages
  • Alec Burgess
    Hi Guys I m trying to get some familiarity with HTML coding (I guess its called XHTML now?), mostly by the monkey-see, monkey-do method. Can someone tell me:
    Message 1 of 3 , Oct 1, 2001
    • 0 Attachment
      Hi Guys

      I'm trying to get some familiarity with HTML coding (I guess its called XHTML now?), mostly by the monkey-see, monkey-do method.

      Can someone tell me: if I have some blocks of text in separate files - basically just groups of paragraphs I've wrapped with <p> aaaa </p> <p> bbbbbb</p> etc.

      Can I, in a master file "include" the sub-files so that when the master file is displayed it appears "as if" the sub-file were actually "in-line".

      Assuming I can, could you show me briefly how and give me a link to something that explains the syntax (so I don't have to keep coming back with more stupid questions)

      Note: I've found (and printed off) some HTML-cheat sheets. I figure it "ought" to be analogous to the <img src=name> construct. Am I in the ball park?

      Regards ... Alec


      [Non-text portions of this message have been removed]
    • tenu@sci.fi
      ... HTML is not same as XHTML. Learning HTML by examples is ok, if you only see good code. Usually you don t, so have a look at http://www.w3.org/MarkUp/
      Message 2 of 3 , Oct 1, 2001
      • 0 Attachment
        --- In ntb-html@y..., "Alec Burgess" <burale@a...> wrote:
        > I'm trying to get some familiarity with HTML coding (I guess its
        > called XHTML now?), mostly by the monkey-see, monkey-do method.

        HTML is not same as XHTML. Learning HTML by examples is ok, if you
        only see good code. Usually you don't, so have a look at
        http://www.w3.org/MarkUp/

        > Can I, in a master file "include" the sub-files so that when the
        > master file is displayed it appears "as if" the sub-file were
        > actually "in-line".

        Easiest done with server side includes (SSI) - Google helps...

        Kludgy approach is to insert JavaScript with "src" attribute and use
        document.write to include missing bits.


        Jorma
      • Robert Newsome
        ... Oh, that is really the hard way. You will really enhance your learning by following a tutorial. Take a look at http://htmlgoodies.com/ ... files ...
        Message 3 of 3 , Oct 2, 2001
        • 0 Attachment
          >> Date: Mon, 1 Oct 2001 13:40:26 -0400
          >> From: "Alec Burgess" <burale@...>
          >> Subject: Newbie HTML question
          >>
          >> Hi Guys
          >>
          >> I'm trying to get some familiarity with HTML coding (I
          >> guess its called XHTML now?), mostly by the monkey-see, monkey-do
          >> method.

          Oh, that is really the hard way. You will really enhance your learning
          by following a tutorial. Take a look at http://htmlgoodies.com/

          >> Can someone tell me: if I have some blocks of text in separate
          files
          >> - basically just groups of paragraphs I've wrapped with <p> aaaa
          </p>
          >> <p> bbbbbb</p> etc.
          >> Can I, in a master file "include" the sub-files
          >> so that when the master file is displayed it appears "as if" the
          sub-
          >> file were actually "in-line".

          Only if you use server coding like Server Side Includes (SSI). Many
          servers include this but usually only the ones you pay for. Another
          way is to use dynamic server coding like Active Server Pages (ASP),
          PHP, or Cold Fusion. These are all programs that preprocess your files
          to execute embeded code before sending the page back to the visitor.

          >> Assuming I can, could you show me briefly how and give me a link to
          >> something that explains the syntax (so I don't have to keep coming
          >> back with more stupid questions) >>Note: I've found (and printed
          off)
          >> some HTML-cheat sheets. I figure it "ought" to be analogous to the
          >> <img src=name> construct. Am I in the ball park?

          Try searching for further answers using http://www.google.com/. Two
          good sites for further HTML and HTML related information are
          http://www.wdvl.com and http://www.htmlgoodies.com

          >> Regards ... Alec
        Your message has been successfully submitted and would be delivered to recipients shortly.