Terms In HTML a Developer Should keep In Mind when Creating a HTML File

These are some of the major terms you should be familiar with when creating your html files.

  • The <!DOCTYPE html> declaration should always be the first line of code in your HTML files. This lets the browser know what version of HTML to expect.
  • The <html> element will contain all of your HTML code.
  • Information about the web page, like the title, belongs within the <head> of the page;You can add a title to your web page by using the <title> element, inside of the head.
  • A webpage’s title appears in a browser’s tab.
  • Anchor tags (<a>) are used to link to internal pages, external pages or content on the same page. You can create sections on a webpage and jump to them using <a> tags and adding ids to the elements you wish to jump to.

Whitespace between HTML elements helps make code easier to read while not changing how elements appear in the browser.

Indentation also helps make code easier to read. It makes parent-child relationships visible.
Comments are written in HTML using the following syntax: <!-- comment -->.
If you want to review how to use HTML in a project, watch the video below


About Binnabook

Binnabook Magazine Believes in Free Speech,Social Journalism with newsgathering and verification of Data.

0 Comments:

Post a Comment

Your Views are needed.Thanks!

Kidnappers Must Be Treated As Terrorists — Tinubu

President Bola Tinubu has declared that individuals involved in despicable crimes such as kidnapping must be treated as terrorists. The Pres...

TRENDING News Feed