惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

D
DataBreaches.Net
IT之家
IT之家
博客园_首页
博客园 - 【当耐特】
V
V2EX
Apple Machine Learning Research
Apple Machine Learning Research
G
Google Developers Blog
让小产品的独立变现更简单 - ezindie.com
让小产品的独立变现更简单 - ezindie.com
Recent Announcements
Recent Announcements
F
Fortinet All Blogs
GbyAI
GbyAI
腾讯CDC
H
Hackread – Cybersecurity News, Data Breaches, AI and More
OSCHINA 社区最新新闻
OSCHINA 社区最新新闻
I
InfoQ
H
Help Net Security
T
Tailwind CSS Blog
B
Blog RSS Feed
Martin Fowler
Martin Fowler
人人都是产品经理
人人都是产品经理
The Cloudflare Blog
博客园 - 叶小钗
雷峰网
雷峰网
量子位

DEV Community

Authentication Security Deep Dive: From Brute Force to Salted Hashing (With Java Examples) Why AI Systems Don’t Fail — They Drift Spilling beans for how i learn for exam😁"Reinforcement Learning Cheat Sheet" I Replaced Chrome with Safari for AI Browser Automation. Here's What Broke (and What Finally Worked) How Python Borrows Other People's Work The $40 Architecture: Processing 1 Billion API Requests with 99.99% Uptime Vibe Coding: A Workflow Guide (From Zero to SaaS) Most webhook security guides protect the wrong side. The scary part is delivery. Headless CMS for TanStack Start: Build a Blog with Cosmic EU Age Verification App "Hacked in 2 Minutes" — What Actually Happened Comfy Cloud’s delete function does not actually remove files Running AI Models on GPU Cloud Servers: A Beginner Guide Event-driven media intelligence with AWS Step Functions and Bedrock I scored 500 AI prompts across 8 quality dimensions — here's what broke How to Call Google Gemini API from Next.js (Free Tier, No Backend Needed) The Portal Protocol: Reclaiming Human Connection in the Age of AI How to Fix Your Team's Scattered Knowledge Problem With a Self-Hosted Forum Intro to tc Cloud Functors: A Graph-First Mental Model for the Modern Cloud Designing Multi-Tenant Backends With Both Ownership and Team Access I Built a Neumorphic CSS Library with 77+ Components — Here's What I Learned PostgreSQL Performance Optimization: Why Connection Pooling Is Critical at Scale Cómo construí un SaaS multi-rubro para gestionar expensas en Argentina con FastAPI + Vue 3 🚀 I Built an Ethical Hacking Scanner Tool – Open Source Project I Replaced /usage and /context in Claude Code With a Single Statusline A Pythonic Way to Handle Emails (IMAP/SMTP) with Auto-Discovery and AI-Ready Design I Collected 8.9 Million Polymarket Price Points — Here's What I Found About How Markets Really Move EcoTrack AI — Carbon Footprint Tracker & Dashboard Everyone's Using AI. No One Agrees How. 5 self-hosted ebook managers worth trying in 2026 Building Your First AI Agent with LangChain: From Chatbot to Autonomous Assistant
Basic of HTML
Raja B · 2026-05-16 · via DEV Community

What is HTML?

HTML is one of the most widely used markup languages in web design worldwide. Its strengths lie in its uniform, clearly struc­tured syntax, a free open-source approach, and a rapid learning curve. If you want to get a quick start in web design without a lot of effort, HTML is a great way to design a modern, appealing website with in­ter­ac­tive elements.

What does HTML stand for?

HTML stands for “Hypertext Markup Language” and, along with Java and CSS, is one of the most widely used text-based markup languages in the world. Tim Berners-Lee, the inventor of the World Wide Web, laid the foun­da­tion of HTML in 1992 with the first HTML spec­i­fi­ca­tion. The World Wide Web Con­sor­tium (W3C) declared HTML 4.0 to be the official standard in December 1999. Since then, about 63% of all websites are based on HTML code. Currently (as of 2023), the versions XHTML and HTML5 are the most widely used for creating SEO-optimized websites.

Is HTML a pro­gram­ming language?

HTML isn’t a pro­gram­ming language. Unlike pro­gram­ming and scripting languages like PHP or JavaScript, HTML cannot be used to create al­go­rithms, tasks, con­di­tions, or loops due to its lack of command structure. That’s why HTML belongs to the markup languages. While HTML describes and struc­tures a web page with text-based, static syntax, pro­gram­ming languages create dynamic content, complex logical tasks, commands, and al­go­rithms.

HTML: HyperText Markup Language

HTML (HyperText Markup Language)

is the most basic building block of the Web. It defines the meaning and structure of web content. Other technologies besides HTML are generally used to describe a web page's appearance/presentation (CSS) or functionality/behavior (JavaScript).

"Hypertext"

refers to links that connect web pages to one another, either within a single website or between websites. Links are a fundamental aspect of the Web. By uploading content to the Internet and linking it to pages created by other people, you become an active participant in the World Wide Web.

HTML uses

"markup"

to annotate text, images, and other content for display in a Web browser. HTML markup includes special "elements" such as<head>, <title>, <body>, <header>, <footer>, <article>, <section>, <p>, <div>, <span>, <img>, <aside>, <audio>, <canvas>, <datalist>, <details>, <embed>, <nav>, <search>, <output>, <progress>, <video>, <ul>, <ol>, <li>and many others.

Basic structure of an HTML document

<!DOCTYPE html>
<html>
<head>
<title>Page Title</title>
</head>
<body>

<h1>My First Heading</h1>
<p>My first paragraph.</p>

</body>
</html>

Enter fullscreen mode Exit fullscreen mode

Example Explained:

  • The <!DOCTYPE html> declaration defines that this document is an HTML5 document

  • The element is the root element of an HTML page

  • The <head> element contains meta information about the HTML page

  • The <title> element specifies a title for the HTML page (which is shown in the browser's title bar or in the page's tab)

  • The <body> element defines the document's body, and is a container for all the visible contents, such as headings, paragraphs, images, hyperlinks, tables, lists, etc.

  • The<h1>element defines a large heading

  • The<p>element defines a paragraph

The syntax is used in HTML to add notes, explanations, or to disable code that you do not want the browser to display

Short Key for Comments:

To quickly comment out a line or a selected block of code, use these shortcuts in VS Code, Sublime Text, and many other IDEs:

  • Windows / Linux :

    Ctrl + /

  • macOS :

    Cmd + /

Key Points

What it does :

Allows you to leave notes to yourself or others without the text appearing on the web page.

Debugging :

Useful for hiding code temporarily to find errors.

Alternative :

For CSS/JS, use /* comment */. For Python, use # comment.

Multi-line :

On some platforms, Shift + Alt + A (Windows)
or Shift + Option + A (Mac) can be used for block comments.

Reference :