Sandvox Help
Index

# Edit Raw HTML

The ability to use custom HTML code is an advanced ability of Sandvox. Because of the extent of HTML and the many ways in which HTML can be incorporated into a Sandvox site, Karelia does not attempt to provide its own HTML tutorial, nor can it provide specific troubleshooting advice related to an individual user's HTML code.

If you would like to explore the possibilities that using HTML in your Sandvox site presents and need some assistance, we encourage you to visit the following third party sites that specifically address HTML issues:

- W3Schools HTML Tutorial
- The HTML Code Tutorial
- EchoEcho.com HTML Tutorial
- The Webmonkey HTML Cheatsheet

With Sandvox you can edit the raw HTML of a HTML page or a HTML object in a page.

- A raw HTML object is an object that Sandvox manages (thus, you will not have any tags like <html>,<head>, or <body>)
- A raw HTML page is a page where you are editing the entire page, with no Sandvox-generated content at all.

To edit the raw HTML of a raw HTML page:

1. Select the raw HTML page in the Site Navigator.
2. From the Edit menu select "Edit Raw HTML…" or click the "Edit Text…" button in the Page Details.
3. Edit the HTML in the window that appears. Changes are updated in the Web View when you click 'Update Preview' in the top right corner.

To edit the raw HTML of a raw HTML object:

1. Select the raw HTML object on the page to select it.
2. Open the Object Inspector and click the 'Edit HTML' button.

## Content Type

With the Edit Raw HTML window open you can choose the content type that you will be using. HTML, PHP, JavaScript, or Other.

This editing window is also used if you have just plain text (e.g. a file ending in .txt) in your site navigator, created with the Raw HTML/Text option. The popup and validation button won't be there since this is text, not HTML.

## Customization

Sandvox allows you to customize the font used for HTML editing. The text is automatically colored by Sandvox from the HTML syntax.

To customize the HTML editing font:

1. With an HTML editing window open, choose "Select All" from the Edit menu.
2. Open the Font panel by choosing "Show Fonts" from the Format menu.
3. Use the panel to set the typeface and size you desire.
4. Close the Font panel.

## Related Articles

- Troubleshooting HTML code
- HTML code guidelines and tips
- YouTube

Keywords: edit, raw, html, code, codes, javascript, alter, manipulate, link, links, text, area, areas, php, directive, directives, script, scripts, scripting, scripted, element, elements, img, image, tag, tags, banner, ad, ads, advert, adverts, advertisement, advertisements

How can we improve this page? Let us know.