arrow_back

Htmlly-Editor

HTML Reference & Help

Learn the basics of HTML, CSS, and JavaScript to get started. These examples help you understand how your code works in the preview above.

HTML Basics

  • All HTML documents start with <!DOCTYPE html>.
  • HTML elements are wrapped with <html> and </html>.
  • Use headings <h1> to <h6> for structure.
  • Paragraphs go inside <p> tags.
<h1>Hello, World!</h1>
<p>Welcome to HTML.</p>
            

CSS Example

body {
  background-color: #fafafa;
  font-family: 'Poppins', sans-serif;
  color: #333;
}
            

JavaScript Example

document.querySelector('h1').style.color = 'green';