Where do you put the html code?

0 points

about 10 years

I have a site I can upload HTML files to. When I upload a file like you make in this tutorial, all I see on the web is the raw HTML. I have been googling for a while and can’t find the part where HTML is turned into a web page!

Answer 50426eab266d970002004581

You have to save it in a simple text editor with the file extension .html. After you do that, upload it and it will work.

points

Where do you put the html code?

about 10 years

Answer 503e563b5db5f100020027e3

To see your HTML rendered, i.e. displayed with formatting and images instead of the raw source code, it must be served by some HTTP server. In other words, the server needs to be aware that it can respond to HTTP requests (when someone sends it the URL of your site) by sending the browser your page to render.

Try one of the free web hosts out there and follow their instructions on how to publish your free site.

Alternatively, if you just want to get up and running as quickly as possible, I recommend Dropbox. You’ll be able to update your page very easily and don’t need any FTP transfers and such. Just put all your HTML, CSS and JavaScript resources in (a sub-folder of) the Public folder of your Dropbox – on your local computer. Right-click the HTML file, select “Copy public link”, and share that with the world! Because Dropbox uploads your files to their servers, they will be available also when your computer is offline.

Don’t have a Dropbox account yet? Get one here for free, you won’t regret it.

points

about 10 years

Answer 5054c6364d85490002051511

points

Where do you put the html code?

about 10 years

HyperText Markup Language is a language used to create pages on the Web. Web browsers interpret the language and display the page as instructed by the HTML. By viewing the page’s HTML or source code, you can see how elements on the page are handled as well as paths to the page’s images or audio features. For a small business, viewing the source code of a page that has an element you wish to incorporate on your own page or even viewing elements on your own page can be helpful in determining how the browser interprets the HTML.

  1. Open your browser and navigate to the page for which you wish to view the HTML

  2. Right-click on the page to open the right-click menu after the page finishes loading.

  3. Click the menu item that allows you to view the source. In Internet Explorere, the menu item is “View Source.” In Mozilla Firefox and Chrome, the menu item is “View Page Source.” In Opera, the menu item is “Source.”

  4. When the source page opens, you'll see the HTML code for the full page. Scan through it to locate code for specific features and objects on the page, as desired.

Websites + Marketing lets you add your own code (HTML, CSS and JavaScript) to your website. This allows you to extend the capabilities of your site with such things as custom forms, maps and special-function buttons — to name only a few options.

Add Google Analytics, Facebook Pixel, Facebook Meta Tag, Pinterest Meta Tag and Google AdSense directly to your site in Settings, no custom code section required. Be sure to allow website visitors to set cookie and tracking preferences, it's the law.

Note: Embedding code can affect how your entire site functions, so use this only if you're comfortable hand coding or have a specific code from another site.

  1. Go to your GoDaddy product page.
  2. Scroll to Websites + Marketing and select Manage next to your website to open your site.
  3. Select Edit Website or Edit Site to open your website builder.
  4. Go to the page and location you want to add your custom code, and add a section.
  5. Search for the HTML section and select Add.
  6. Paste or write your custom code into the Custom Code field.
  7. Customize the rest of the section, such as the accent color, title, center alignment toggle and height. Leave the Forced Height field blank for auto-height or set a specific height in pixels. A height of 0 pixels is equivalent to deleting the section.
  8. Your changes are saved automatically. Use Preview to see the results and when you're ready to make the changes public, publish your site.

More info

  • Need a quick HTML tutorial? Check out freeCodeCamp or Hubspot for beginner-friendly guides.
  • Having trouble with your code? See Troubleshoot: HTML or custom code not displaying properly.
  • Want to create a QR code? Choose from free generators like QRCode Monkey or QR Code Generator.
  • Add reviews to my website from Facebook, Google My Business, Yotpo or by hand.