Programming Guides 1
Programming Guides 1
What is HTML?
HTML, or Hypertext Markup Language, is the standard language used to create and design web pages. It provides a
structure for content on the World Wide Web, allowing web browsers to interpret and display text, images,
multimedia, and other elements within a web page. Here are some key points about HTML:
1. Markup Language: HTML is a markup language, not a programming language. It uses tags to define the
structure and layout of content within a web page. These tags are enclosed in angle brackets (< >) and
come in pairs, with an opening tag and a closing tag.
2. Elements and Tags: HTML documents consist of various elements, such as headings, paragraphs, images,
links, lists, tables, forms, and more. Each element is represented by one or more HTML tags. For example,
the <h1> tag defines a top-level heading, the <p> tag defines a paragraph, and the <img> tag defines an
image.
3. Semantic Markup: HTML5 introduced semantic elements that provide meaning to the content, making it
more accessible to both users and search engines. Semantic elements like <header>, <nav>, <section>,
<article>, <footer>, and <aside> help structure the content in a meaningful way.
4. Attributes: HTML tags can include attributes that provide additional information about an element. Attributes
modify the behavior or appearance of an element and are specified within the opening tag. For example, the
<img> tag may include attributes like src (source), alt (alternate text), width, and height.
5. Hyperlinks: HTML allows the creation of hyperlinks (or simply links) that connect web pages together. Links
are created using the <a> (anchor) tag, with the href attribute specifying the URL of the destination page.
6. Compatibility and Standards: HTML is governed by the World Wide Web Consortium (W3C), which sets
standards and specifications for web technologies. Modern web browsers support the latest HTML
standards, ensuring compatibility and consistency in rendering web pages across different platforms and
devices.
7. Integration with CSS and JavaScript: HTML works in conjunction with Cascading Style Sheets (CSS) and
JavaScript to enhance the presentation and functionality of web pages. CSS is used to style and format
HTML elements, while JavaScript adds interactivity and dynamic behavior to web pages.
Overall, HTML serves as the foundation of the web, enabling the creation of rich and interactive content that can be
accessed and viewed by users worldwide.
To create an html, we will need this application like Sublime Text, Atom, Brackets, Adobe Dreamweaver, PhpStorm,
WebStorm, and Visual Studio Code.
1. Download first the IDE will be using which is the Visual Studio Code. You can download it here in this
website: https://code.visualstudio.com/
4. Untitled text file will appear. Go back to the file menu and click Save As… or use the shortcut key CTRL +
SHIFT + S.
5. Save the text file with a file name index. Select save as type as HTML. Select also the folder where you
want to save your html file.