top of page
Search
Writer's pictureHarsh Jain

What are the basic codes of HTML? Learn them all from HTML Cheat Sheet!

HTML is a markup language that defines how your content is structured. HTML is made up of elements that you can use to enclose or wrap different parts of the content to make it look or act a certain way. The enclosing tags can make a word or image hyperlink to another location, italicize words, change the font size, and so on.

What exactly is an HTML Cheat Sheet?

When new web developers need a simple, quick reference list of basic HTML tags, codes, and attributes, HTML Cheat Sheet comes in handy. The HTML Cheat Sheets' entire purpose is to provide you with some quick accurate ready-to-use code snippets as well as necessary HTML tags and attributes to assist you with your webpage.

HTML Headings

These tags allow us to give the content of web page headings. These tags are typically written within the body tag. From< h1> to <h6>, HTML provides us with six heading tags. Each tag displays the heading in a different font style and size.

The following are the most common HTML heading tags that we use:

1st Heading

2nd Heading

3rd Heading

The contents of headings are displayed in various sizes by browsers. The precise size at which each browser displays the heading may differ slightly. Users can also change the font size in their browser.




Usually, the web browser displays an HTML document in black and white i.e. the text in black on a white background. However, you can change the appearance of the document by changing the background color and the text color. You can change the background color as illustrated.

<BODY bgcolor=”colorname”>

For example: <BODY bgcolor=”green”> or <BODY bgcolor=”blue”>


6 views0 comments

Recent Posts

See All

Important Features Of HTML

FEATURES OF HTML Because of its simple syntax and low learning curve, HTML tags is one of the easiest languages to learn and use to...

Comments


Post: Blog2_Post
bottom of page