DEV Community

Raj
Raj

Posted on

HTML

welcome to my first blog

This is not an Ordinary blog. it is based on my own understanding and i am still learning . I will explain topics simple words the way i understand them. I m not to write like an Ai or an expert I share my learning journey so that beginners can understand easily. If i make any mistakes I will learn from them and improve.


Why Mention the Language?

meta lang="eng"

* Browser Understanding the page language. 
* useful translation tools translate a other language correctly.
* improve accessibility for blind users programmers code .
* Screen readers like JAWS and NVDA which convert text to Speech.
Enter fullscreen mode Exit fullscreen mode


* it's short method used quickly typing.
* long method available but short method almost using every user.
* what is this called universal character encoding
(E.g)

* HTML File = message (you send the secret code word)
* UTF-8 = reading rule ( friend A not  understands the secret code word mean)
* Reader = Browser ( then you explain a friend what secret code meaning)
Enter fullscreen mode Exit fullscreen mode


why using this tag?

meta name="viewport" content="width=device-width, initial-scale=1.0"

  • every device a different display screen width.
  • this tag tells the browser to match the web page to the device's screen.
  • a make your website look good on different display screen.

(E.g)

 * imagine opened a website on an old Nokia phone not fit the display screen properly.
 * I had to zoom in and out every time to read the content because the layout was not aligned correctly.
Enter fullscreen mode Exit fullscreen mode

Top comments (0)