×

注意!页面内容来自https://www.geeksforgeeks.org/html/html-introduction/,本站不储存任何内容,为了更好的阅读体验进行在线解析,若有广告出现,请及时反馈。若您觉得侵犯了您的利益,请通知我们进行删除,然后访问 原网页

<> #nprogress { pointer-events: none; } #nprogress .bar { background: #29D; position: fixed; z-index: 9999; top: 0; left: 0; width: 100%; height: 3px; } #nprogress .peg { display: block; position: absolute; right: 0px; width: 100px; height: 100%; box-shadow: 0 0 10px #29D0 0 5px #29D; opacity: 1; -webkit-transform: rotate(3deg) translate(0px-4px); -ms-transform: rotate(3deg) translate(0px-4px); transform: rotate(3deg) translate(0px-4px); } #nprogress .spinner { display: block; position: fixed; z-index: 1031; top: 15px; right: 15px; } #nprogress .spinner-icon { width: 18px; height: 18px; box-sizing: border-box; border: solid 2px transparent; border-top-color: #29D; border-left-color: #29D; border-radius: 50%; -webkit-animation: nprogresss-spinner 400ms linear infinite; animation: nprogress-spinner 400ms linear infinite; } .nprogress-custom-parent { overflow: hidden; position: relative; } .nprogress-custom-parent #nprogress .spinner, .nprogress-custom-parent #nprogress .bar { position: absolute; } @-webkit-keyframes nprogress-spinner { 0% { -webkit-transform: rotate(0deg); } 100% { -webkit-transform: rotate(360deg); } } @keyframes nprogress-spinner { 0% { transform: rotate(0deg); } 100% { transform: rotate(360deg); } }
  • Courses
  • Tutorials
  • Interview Prep

HTML Introduction

Last Updated : 20 Apr2026

HTML (HyperText Markup Language) is the standard language for creating and structuring web pages using tags and elements. It defines how content like textimagesand links appear in a browser.

  • It is a markup languagenot a programming language.
  • This means it annotates text to define how it is structured and displayed by web browsers.
  • It is a static languagemeaning it does not inherently provide interactive features but can be combined with CSS for styling and JavaScript for interactivity.
HTML
<!DOCTYPE html>
<html>
<head>
    <title>My First Webpage</title>
</head>
<body>
    <h1>Welcome to My Webpage</h1>
    <p>This is my first paragraph of text!</p>
</body>
</html>


The output shows how the HTML content (heading and paragraph) is displayed in the browser:

Screenshot-2026-04-17-114819
Web View of an HTML code

Working of HTML: Understand Step-by-Step

Herewe’ll learn how a simple HTML file is writtensavedopened in a browserrenderedand finally displayed on the screen along with how CSS and JavaScript enhance it.

Also Check

Comment