Month: May 2022

HTML Introduction

What is HTML? HTML is the standard markup language used to describe web pages. HTML stands for Hyper Text Markup Language. HTML is not a programming language, but a markup language. Markup language is just a markup tag. HTML uses markup tags to describe web pages. HTML documents are also called web pages. What are the features of …

HTML Introduction Read More »

HTML Elements

The HTML document is defined by a number of HTML elements. An HTML element usually contains a start tag and an end tag, the content is included in the middle of the tag.For example, here is a typical HTML element: Start tag element content end tag <p> This is a paragraph </p> <a href=”default.htm”> Here’s …

HTML Elements Read More »

HTML Headings

The <H1>-<H6> tags in the HTML document define 6 headings that indicate different levels of importance. HTML Heading Example HTML Heading is defined by <h1> – <h6> tags. <h1> defines the most important heading. <h6> defines the least important heading. Here is a sample code for the <h1>-<h6> tag: The heading is very important Make sure to use …

HTML Headings Read More »

HTML Paragraphs

The HTML <p> element defines a paragraph: The margins of HTML <p> element The browser can automatically set margins for the <p> element. You can also customize the margins by setting style attribute: The output of the HTML <p> elements You cannot change the effect of the output by adding extra spaces or blank lines …

HTML Paragraphs Read More »

HTML Formatting

Some text formatting tags are already provided in HTML.If it is not necessary, we can use these text formatting tags directly without having to write extra styles, which simplifies our work. HTML Text Formatting Tags Popular HTML text formatting tags are: <b> – Bold text <strong> – Important text <i> – Italic text <em> – …

HTML Formatting Read More »

HTML Comments

The comment tag allows you to add some comments in HTML documents. HTML Comment Tag Syntax The syntax of HTML comment tag is relatively complex. The following is the only way to write HTML comments: Note:Notice that there is an exclamation point (!) in the opening tag, but not in the closing tag. With comments …

HTML Comments Read More »

HTML CSS

CSS is short for Cascading Style Sheets.CSS was first used in HTML4 to better render HTML elements.CSS can control the presentation of multiple HTML elements at the same time. It also can control the layout of the page. How to use CSS CSS can be added to HTML in the following ways: Inline – use …

HTML CSS Read More »

HTML Links

The hyperlink is also called URL (Uniform Resource Locator), which is one of the most frequently used HTML elements in a website.Various pages of the website are connected by hyperlinks, and the hyperlinks complete the redirections between pages. HTML Hyperlinks The hyperlink is defined by the <a> tag. The hyperlink can be a piece of …

HTML Links Read More »

HTML Images

Images which can make web pages look more beautiful and words more lively are necessary parts of web pages. You can use the <img> tag to display an image on a web page. Here is an example: Image Syntax Images in HTML can be defined by the <img> tag. Basically, <img> is an empty element, which means that it contains only attributes and has no …

HTML Images Read More »