HTML is structure
Use semantic elements such as `header`, `nav`, `main`, `section`, `button`, and `footer` to describe the page.
Developer docs
HTML Studio is a native editor first. You can begin with plain web files and move to `.vel` components when you want reusable reactive UI.
Quick start
HTML Studio keeps the first project deliberately simple: one HTML file, one stylesheet, and one script.
Choose New project, select Website, and open `index.html` in the explorer.
Write structure in HTML, design in CSS, and interactions in JavaScript.
Press Run or F5. The preview uses your current project files.
See the workspace features →<!doctype html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="stylesheet" href="styles.css">
<title>My idea</title>
</head>
<body>
<main class="card">
<h1 id="title">Hello, web!</h1>
<p>Change this page and press Run.</p>
<button id="hello">Say hello</button>
</main>
<script src="app.js"></script>
</body>
</html>HTML + CSS + JavaScript
Keep responsibilities separate while you are learning. That makes errors easier to find and makes your project portable.
Use semantic elements such as `header`, `nav`, `main`, `section`, `button`, and `footer` to describe the page.
Use selectors, variables, layout, spacing, responsive rules, and transitions to shape the experience.
Listen for events, update the DOM, validate input, and save small browser-only data.
Optional component path
Teloce-Py compiles `.vel` files into browser JavaScript. HTML Studio can edit those files as part of a larger Python project.
<template>
<button class="counter" @click="count++">
Clicked {{ count }} times
</button>
</template>
<script>
export default {
data() { return { count: 0 } },
}
</script>
<style scoped>
.counter { padding: .75rem 1rem; border-radius: .6rem; }
</style>During development, Teloce-Py reads the `.vel` source, parses the template and script, generates a JavaScript module, and emits the shared runtime once for the project.
Libraries and projects
Plain HTML Studio projects can use pinned CDN libraries such as Three.js. Learn what the library does before adding it, and keep the custom code readable.
<script type="module">
import * as THREE from "https://cdn.jsdelivr.net/npm/three@0.180.0/build/three.module.js";
const scene = new THREE.Scene();
const camera = new THREE.PerspectiveCamera(60, innerWidth / innerHeight, .1, 100);
const renderer = new THREE.WebGLRenderer({ antialias: true });
document.body.append(renderer.domElement);
camera.position.z = 4;
const cube = new THREE.Mesh(
new THREE.BoxGeometry(),
new THREE.MeshNormalMaterial(),
);
scene.add(cube);
function animate() {
cube.rotation.x += .01;
cube.rotation.y += .01;
renderer.setSize(innerWidth, innerHeight);
renderer.render(scene, camera);
requestAnimationFrame(animate);
}
animate();
</script>Need the deeper compiler docs?
Read the full Teloce-Py compiler, runtime, router, signals, and Flask/FastAPI/Django lessons in the framework repository.