Get the HTML/CSS codes of a web page

Solved
Hello,
I would like to ask a question that I initially thought would be relatively simple but has turned out to be more difficult to solve than expected.
The question is as follows:

Is it possible and legal to find all the scripts and HTML or CSS code that a web page has used to create its layout? And if so, how?

I am asking this question because in my case, on MySpace, there are many truly beautiful profiles thanks to scripts, but I still need to know which ones. Thus, with this, I could obtain all the scripts I need to properly create my own MySpace page without having to ask or search for each script every time...

Thank you in advance for your response(s)
:)

8 answers

  • Votes
  • Date
  • Descending date
    • Open the web page in Google Chrome
    • Press Ctrl+Shift+i or F12 on Windows and Cmd + Opt + i on Mac
    • Select the Sources tab
    • Click on the 3 little dots to stop grouping by folder:


    And there you go, it's not more complicated than that:
    • HTML is in gray
    • Javascript is in yellow
    • CSS is in purple
    • Images are in green
    1. quick and efficient.
      Thank you!
    2. I don't understand, after pressing ctrl+u, what should I take?
    3. @margoyaveIf taken from an online site, it is especially illegal and subject to legal action.
      Intellectual property does not belong to you.
    4. the GOAT thank you very much bro