Text files include formats such as .txt, .md, .rst, .xml, .html, .json, and more. However, HTML files are categorized slightly differently from other text file types in Encord.

Import HTML

HTML files can be imported locally, or from a private cloud server using a JSON file.

When importing HTML pages, we recommend using the single-file extension format, which includes all elements necessary to render the page fully, such as CSS and JavaScript. This method ensures that all resources are bundled together, allowing the HTML page to display in the Index just as it would when hosted online.

Importing as a single extension makes the page more visually appeasing in both Index and Annotate.

Here is a comparison of the same HTML page in Index, imported as a raw file and as a single extension.

HTML - Raw

HTML - Single Extension

Import Text

HTML files can be imported locally, or from a private cloud server using a JSON file.