How to hide html code?

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Fuli Chang

    How to hide html code?

    I don't like other people see my html code. Is there a way to hide it? Thanks.
  • Vigil

    #2
    Re: How to hide html code?

    On Sat, 27 Dec 2003 16:46:35 -0800, Fuli Chang wrote:
    [color=blue]
    > I don't like other people see my html code. Is there a way to hide it?[/color]

    Yes. View your web page in your browser of choice. Take a screenshot (or
    windowshot) of it. Save as jpeg. Upload to web server. This has the added
    bonus of it looking exactly how you want it on any image-capable web
    browser.

    --

    ..

    Comment

    • Stan Brown

      #3
      Re: How to hide html code?

      In article <ae3852a0.03122 71646.3f087d98@ posting.google. com> in
      comp.infosystem s.www.authoring.html, Fuli Chang wrote:[color=blue]
      >I don't like other people see my html code. Is there a way to hide it?[/color]

      I don't like other people to see books I write. Is there a way to
      hide them?

      I don't like other people to see pictures I draw. Is there a way to
      hide them?

      I don't like other people to see my bank statements. Is there a way
      to hide them?

      Yes, and the answer is the same: If you don't want people to see
      them, don't show them to people -- and above all, don't put them on
      the Web.

      If you put something on the Web, it can be seen.

      --
      Stan Brown, Oak Road Systems, Cortland County, New York, USA

      HTML 4.01 spec: http://www.w3.org/TR/html401/
      validator: http://validator.w3.org/
      CSS 2 spec: http://www.w3.org/TR/REC-CSS2/
      2.1 changes: http://www.w3.org/TR/CSS21/changes.html
      validator: http://jigsaw.w3.org/css-validator/

      Comment

      • William Tasso

        #4
        Re: How to hide html code?

        Fuli Chang wrote:[color=blue]
        > I don't like other people see my html code.[/color]

        Is this a trick question?
        [color=blue]
        > Is there a way to hide it?[/color]

        Not on a web server. Perhaps in the garden under a nice shrub?

        --
        William Tasso - http://WilliamTasso.com


        Comment

        • brucie

          #5
          Re: How to hide html code?

          in post <news:ae3852a0. 0312271646.3f08 7d98@posting.go ogle.com>
          Fuli Chang said:
          [color=blue]
          > I don't like other people see my html code.
          > Is there a way to hide it?[/color]

          mix it in with other html. no one will think to look for it out in the
          open. the common term for it is "tag soup". you've probably been doing
          it for ages and have never realized.

          --
          brucie
          28/December/2003 06:20:22 pm kilo

          Comment

          • Neal

            #6
            Re: How to hide html code?


            "Fuli Chang" <fulichang@hotm ail.com> wrote in message
            news:ae3852a0.0 312271646.3f087 d98@posting.goo gle.com...[color=blue]
            > I don't like other people see my html code. Is there a way to hide it?[/color]
            Thanks.

            If you want the browser to render the page, the code must be available, and
            if it's available people can look at it. It's impossible to keep the code
            secret and have the browser be able to render the page.

            Using a big image is really the only way. Or the "tag soup" solution. Both
            will make your page extra heavy. The only way to ensure no one can see how
            you do something on the web is to make sure no one d/ls the page.

            And BTW there's nothing you could be doing in your HTML that anyone with the
            smarts to read it won't already be able to learn how to do. Trying to hide
            the HTML, even if it were possible, would be a colossal waste of time.


            Comment

            • Mark Parnell

              #7
              Re: How to hide html code?

              On 27 Dec 2003 16:46:35 -0800, Fuli Chang declared in
              comp.infosystem s.www.authoring.html:
              [color=blue]
              > I don't like other people see my html code.[/color]

              What about how they feel? Have you considered the damage to them when they
              look at your code?
              [color=blue]
              > Is there a way to hide it?[/color]


              [color=blue]
              > Thanks.[/color]

              You're welcome.

              --
              Mark Parnell

              Comment

              • Harlan Messinger

                #8
                Re: How to hide html code?


                "Fuli Chang" <fulichang@hotm ail.com> wrote in message
                news:ae3852a0.0 312271646.3f087 d98@posting.goo gle.com...[color=blue]
                > I don't like other people see my html code.[/color]

                Why not? HTML is pretty transparent, and all you use it for is page
                description and layout. If people can see paragraphs and different font
                sizes and tables on your screen, they can pretty much reproduce what you did
                even *without* looking at your code. It's not like the situation when you've
                written technologically advanced code in C++ and want to keep your
                algorithms a secret.

                Anyway, the answer is: no--other than not putting it on the Internet.
                [color=blue]
                > Is there a way to hide it? Thanks.[/color]

                Comment

                • Alan J. Flavell

                  #9
                  Re: How to hide html code?

                  On Mon, 29 Dec 2003, Harlan Messinger wrote:
                  [color=blue]
                  >
                  > "Fuli Chang" <fulichang@hotm ail.com> wrote in message
                  > news:ae3852a0.0 312271646.3f087 d98@posting.goo gle.com...[color=green]
                  > > I don't like other people see my html code.[/color]
                  >
                  > Why not? HTML is pretty transparent, and all you use it for is page
                  > description and layout.[/color]

                  Perhaps that's why the O.P wants to hide it ;-)

                  Real HTML marks-up the logical structure of the content, and leaves
                  the page makeup and layout to the client agent (browser etc.) in
                  conjunction with optional stylesheet(s) for various presentation
                  situations.
                  [color=blue]
                  > written technologically advanced code in C++ and want to keep your
                  > algorithms a secret.[/color]

                  Well, it *might* be argued that workarounds for multivarious browser
                  bugs were a saleable intellectual property. But there are plenty to
                  be had for free on usenet and on the web.

                  Bottom line is the same, anyway: whoever understands how the web
                  works, would know better than to ask how to hide it. Recommendation
                  to the original poster: learn more about how the web works.

                  Comment

                  • StardogChampion

                    #10
                    Re: How to hide html code?

                    "Alan J. Flavell" <flavell@ph.gla .ac.uk> wrote in message
                    news:Pine.LNX.4 .53.03122916262 70.13693@ppepc5 6.ph.gla.ac.uk. ..[color=blue]
                    > On Mon, 29 Dec 2003, Harlan Messinger wrote:
                    >[color=green]
                    > >
                    > > "Fuli Chang" <fulichang@hotm ail.com> wrote in message
                    > > news:ae3852a0.0 312271646.3f087 d98@posting.goo gle.com...[color=darkred]
                    > > > I don't like other people see my html code.[/color]
                    > >
                    > > Why not? HTML is pretty transparent, and all you use it for is page
                    > > description and layout.[/color]
                    >
                    > Perhaps that's why the O.P wants to hide it ;-)
                    >
                    > Real HTML marks-up the logical structure of the content, and leaves
                    > the page makeup and layout to the client agent (browser etc.) in
                    > conjunction with optional stylesheet(s) for various presentation
                    > situations.
                    >[color=green]
                    > > written technologically advanced code in C++ and want to keep your
                    > > algorithms a secret.[/color]
                    >
                    > Well, it *might* be argued that workarounds for multivarious browser
                    > bugs were a saleable intellectual property. But there are plenty to
                    > be had for free on usenet and on the web.
                    >
                    > Bottom line is the same, anyway: whoever understands how the web
                    > works, would know better than to ask how to hide it. Recommendation
                    > to the original poster: learn more about how the web works.[/color]

                    I know there's no way to truly hide your code, but how does this site do it?


                    Some sort of script?


                    Comment

                    • Peter Foti

                      #11
                      Re: How to hide html code?

                      "StardogChampio n" <stardogchampio n@blueyonder.co .uk> wrote in message
                      news:6mDIb.2854 $Cp3.26944528@n ews-text.cableinet. net...[color=blue]
                      > I know there's no way to truly hide your code, but how does this site do[/color]
                      it?[color=blue]
                      > http://www.orangeday.net/kakashi/quiz/index.html
                      >
                      > Some sort of script?[/color]

                      What do you mean? It's not hidden at all... the first few lines of the
                      source are in an HTML comment, and if you scroll down you will see the rest
                      of the HTML code.

                      Regards,
                      Peter Foti




                      Comment

                      • Harlan Messinger

                        #12
                        Re: How to hide html code?


                        "StardogChampio n" <stardogchampio n@blueyonder.co .uk> wrote in message
                        news:6mDIb.2854 $Cp3.26944528@n ews-text.cableinet. net...[color=blue]
                        > "Alan J. Flavell" <flavell@ph.gla .ac.uk> wrote in message
                        > news:Pine.LNX.4 .53.03122916262 70.13693@ppepc5 6.ph.gla.ac.uk. ..[color=green]
                        > > On Mon, 29 Dec 2003, Harlan Messinger wrote:
                        > >[color=darkred]
                        > > >
                        > > > "Fuli Chang" <fulichang@hotm ail.com> wrote in message
                        > > > news:ae3852a0.0 312271646.3f087 d98@posting.goo gle.com...
                        > > > > I don't like other people see my html code.
                        > > >
                        > > > Why not? HTML is pretty transparent, and all you use it for is page
                        > > > description and layout.[/color]
                        > >
                        > > Perhaps that's why the O.P wants to hide it ;-)
                        > >
                        > > Real HTML marks-up the logical structure of the content, and leaves
                        > > the page makeup and layout to the client agent (browser etc.) in
                        > > conjunction with optional stylesheet(s) for various presentation
                        > > situations.[/color][/color]

                        [I'm responding to Alan here because Alan's message didn't show up on my
                        news service]

                        One would think you could for *one* minute lay off the TC (technically
                        correct) extremism. First of all, I said, "page description", by which what
                        I meant exactly was a description of the logical structure of the document.
                        Second, for crying out loud, the *reason* one describes the parts of the
                        page are, in large measure, for the sake of achieving some kind of a layout!
                        If no user agent started new paragraphs on new lines, and all user agents
                        just ran all the text together, then nobody would bother using <p> tags. If
                        no user agent rendered text in anything but a normal weight Roman style,
                        then nobody would use <strong> or <em> tags. Why would they? To please the
                        occasional semantic data fanatic who roams random web sites and downloads
                        them into databases so he can do statistical analysis on the use of textual
                        organization and emphasis by web site designers?

                        I *know* that there are browsers that *don't* use certain markup. Designers
                        use that markup because of the user agents that *do* use it. They use <p> so
                        that the usual user agent will indicate the division of the text into
                        paragraphs, and they use <em> and <strong> so that the browser will
                        indicate, using some presentational device, the intended impact. Otherwise,
                        designers wouldn't bother. So to maintain that even the most general
                        presentational considerations have, or should have, nothing to do with use
                        of HTML is absurd, and these repeated interjections on the subject are, on
                        the tediousness scale, akin to sidetracking serious discussions over and
                        over to quibble with minor, perceived grammatical lapses.

                        Comment

                        • Barry Pearson

                          #13
                          Re: How to hide html code?

                          Harlan Messinger wrote:[color=blue]
                          > "StardogChampio n" <stardogchampio n@blueyonder.co .uk> wrote in message[color=green]
                          >>[/color][/color]
                          [snip][color=blue]
                          > One would think you could for *one* minute lay off the TC (technically
                          > correct) extremism. First of all, I said, "page description", by
                          > which what I meant exactly was a description of the logical structure
                          > of the document. Second, for crying out loud, the *reason* one
                          > describes the parts of the page are, in large measure, for the sake
                          > of achieving some kind of a layout! If no user agent started new
                          > paragraphs on new lines, and all user agents just ran all the text
                          > together, then nobody would bother using <p> tags. If no user agent
                          > rendered text in anything but a normal weight Roman style, then[/color]
                          [snip][color=blue]
                          > nobody would use <strong> or <em> tags.
                          > I *know* that there are browsers that *don't* use certain markup.
                          > Designers use that markup because of the user agents that *do* use
                          > it. They use <p> so that the usual user agent will indicate the
                          > division of the text into paragraphs, and they use <em> and <strong>
                          > so that the browser will indicate, using some presentational device,
                          > the intended impact. Otherwise, designers wouldn't bother. So to
                          > maintain that even the most general presentational considerations
                          > have, or should have, nothing to do with use of HTML is absurd, and
                          > these repeated interjections on the subject are, on the tediousness
                          > scale, akin to sidetracking serious discussions over and over to
                          > quibble with minor, perceived grammatical lapses.[/color]

                          Your are correct, of course. But I'm puzzled that this debate is still
                          continuing!

                          The W3C recommendations for the HTML standards are accompanied by a "visual
                          formatting model" for specific elements. These describe (for example) how
                          block-level elements should cause line-breaks, and describe how tables are
                          expected to be laid out. They even go as a far as suggesting the default
                          stylesheet to be used by browsers.

                          From the early browser implementations , HTML "standards" have been accompanied
                          by visual formatting models/defaults. HTML mark-up has never, in practice,
                          been layout-neutral, as far as I know. Authors have never had reason to doubt
                          what would typically happen in practice. Browser developers would be stupid to
                          defy expectations.

                          I believe that claims that mark-up was intended to be in any sense
                          layout-neutral is an attempt to re-write history. Perhaps this will be the
                          case for XHTML 2.0 and beyond. It never has applied, and never will apply, to
                          anything before XHTML 2.0.

                          --
                          Barry Pearson


                          This site provides information & analysis of child support & the Child Support Agency in the UK, mainly for lobbyists, politicians, academics & media.



                          Comment

                          • Alan J. Flavell

                            #14
                            Re: How to hide html code?

                            On Wed, 31 Dec 2003, Harlan Messinger wrote:
                            [color=blue]
                            > [I'm responding to Alan here because Alan's message didn't show up on my
                            > news service]
                            >
                            > One would think you could for *one* minute lay off the TC (technically
                            > correct) extremism.[/color]

                            I don't try to deny you the right to post to Usenet whatever you see
                            fit - I of course retain the right to disagree when appropriate.
                            [color=blue]
                            > First of all, I said, "page description", by which what I meant
                            > exactly was a description of the logical structure of the document.[/color]

                            I'd say that was unclear. And you revive that unclarity in the rest
                            of your followup.
                            [color=blue]
                            > Second, for crying out loud, the *reason* one describes the parts of
                            > the page are, in large measure, for the sake of achieving some kind
                            > of a layout![/color]

                            If that's your primary objective, then you're missing some important
                            intermediate layer of the plot.
                            [color=blue]
                            > If no user agent started new paragraphs on new lines, and all user
                            > agents just ran all the text together, then nobody would bother
                            > using <p> tags.[/color]

                            I sense a straw-man argument.

                            cheers

                            Comment

                            • Neal

                              #15
                              Re: How to hide html code?


                              "Barry Pearson" <news@childsupp ortanalysis.co. uk> wrote in message
                              news:GWEIb.345$ ah3.461814@news fep1-win.server.ntli .net...[color=blue]
                              > From the early browser implementations , HTML "standards" have been[/color]
                              accompanied[color=blue]
                              > by visual formatting models/defaults. HTML mark-up has never, in practice,
                              > been layout-neutral, as far as I know. Authors have never had reason to[/color]
                              doubt[color=blue]
                              > what would typically happen in practice. Browser developers would be[/color]
                              stupid to[color=blue]
                              > defy expectations.[/color]

                              However, I can specify in my user style sheet that paragraphs not get the
                              extra space, I can even make them inline. Not that I would. But the point is
                              that the tags don't cause the presentation. The tags assign meaning to the
                              element, and the browser, using default or user-supplied information,
                              assigns presentation to elements of a particular meaning.

                              It's really quite simple.


                              Comment

                              Working...