Welcome guest. Before posting on our computer help forum, you must register. Click here it's easy and free.

Author Topic: How I can put HTML inside HTML  (Read 72293 times)

0 Members and 1 Guest are viewing this topic.

jenit739

    Topic Starter


    Newbie

    • Experience: Beginner
    • OS: Windows 10
    How I can put HTML inside HTML
    « on: December 13, 2021, 03:14:11 AM »
    Hi
    I'm making a web as a project in school, so I need to put some examples of webs (made only with HTML) on it: but I need to show the output as the code; so, is there an attribute of HTML, or JavaScript that helps me to explain the compiler that the code, in that case, it's just a text that needs to be displayed in the screen?

    Geek-9pm


      Mastermind
    • Geek After Dark
    • Thanked: 1026
      • Gekk9pm bnlog
    • Certifications: List
    • Computer: Specs
    • Experience: Expert
    • OS: Windows 10
    Re: How I can put HTML inside HTML
    « Reply #1 on: December 13, 2021, 11:29:58 AM »
    Your say you are a novice
    Here is the novice answer:
    Show the source on your screen.
    Take a screenshot.
    Use the image in your code to show the HTML now as a image.
    Yes, there is is another  way. But try this first. It works.  8)
    I really am trying to help you:D

    jhonalbert



      Newbie

      • Experience: Beginner
      • OS: Windows 10
      Re: How I can put HTML inside HTML
      « Reply #2 on: December 20, 2021, 12:56:17 AM »
      HTML Imports, part of the Web Components cast, is a way to include HTML documents in other HTML documents. You're not limited to markup either. An import can also include CSS, JavaScript, or anything else an . html file can contain.