Skip to main content
100%

JS in HTML

✓ Published0🌍 Public
PPareel Amre
Last edited Dec 25, 2023
Created on Dec 24, 2023
Forked from HTML Starter

This example demonstrates a minimal web page that displays the text "Hello HTML!" using custom CSS styling, specifically setting the font size to 13em and centering it. The core functionality relies on plain JavaScript embedded directly within the HTML file, executed through the browser’s console. It uses the standard `<style>` tag for CSS rules and a `<scripts>` element containing a `console.log()` statement that outputs a greeting to the developer console. The code does not employ any external libraries or frameworks, serving purely as a foundational illustration of integrating HTML, CSS, and JavaScript in a single document.

AI-generated description

A bare minimum HTML page demonstrating use of CSS and JavaScript.

See also React Starter.

MIT Licensed

Similar vizzes