HTML introduction and setup

Created By: chatGPT

HTML stands for HyperText Markup Language and is the standard language for creating web pages. It allows you to structure your content with various elements and tags. To get started with HTML, you need a simple code editor (like Visual Studio Code, Sublime Text, or Notepad++) and a web browser (like Chrome, Firefox, or Edge) to view your work.
Begin by creating a new HTML file. You can save it with a .html extension, like index.html. Use the following template to set up the basic structure of your HTML document:
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Your Page Title</title>
</head>
<body>
    <h1>Hello, World!</h1>
    <p>This is my first HTML page.</p>
</body>
</html>

This boilerplate includes important tags:

  • <!DOCTYPE html> declares that this is an HTML5 document.
  • <html> is the root element that contains all other elements.
  • <head> contains metadata, such as the character set and the title of the document.
  • <body> contains the actual content displayed on the web page.
Once you've saved the file, open it in your web browser. You should see your Hello, World! message displayed. From here, you can start adding more content and elements as you learn more about HTML.
Introduction And SetupHeadTitleMetaLinkStyleScriptBodyHeaderNavSectionArticleAsideFooterH1H2H3H4H5H6PBlockquoteOlUlLiAImgTableTrTdThCaptionFormInputTextareaButtonSelectOptionLabelFieldsetLegendCanvasSvgVideoAudioEmbedObjectIframeDivSpanStrongEmSmallSubSupMarkCiteDfnAbbrTimeDataVarCodeKbdSampQCiteRubyRbRtRtcRpBdiBdoWbrDatalistOutputProgressMeterDetailsSummaryTemplatePictureSourceTrackMeta CharsetMeta NameMeta ContentMeta ViewportMeta Http EquivLink RelLink HrefScript SrcScript AsyncStyle TypeBody OnloadIdClassStyleSrcHrefAltTitleValueNameTypePlaceholderDisabledReadonlyCheckedActionMethodForMaxlengthMinlengthAutocompleteTargetRelData *WidthHeightLangTabindexAria *DraggableHiddenAutofocusRequiredDownload