Viewport Meta Tag

Dear Sciaku Learner you are not logged in or not enrolled in this course.

Please Click on login or enroll now button.

If you have any query feel free to chat us!

Happy Coding! Happy Learning!

Lecture 80:- Viewport Meta Tag

  • The viewport meta tag is a HTML meta tag that is used to control the viewport on a mobile device. The viewport is the area of the device's screen that is used to display the web page. The viewport meta tag can be used to set the width and initial scale of the viewport, and to control the behavior of the page when it is resized.

    The viewport meta tag is typically placed in the <head> section of the HTML document and has the following format:

    cssCopy code

    <meta name="viewport" content="width=device-width, initial-scale=1">

    The width attribute is used to set the width of the viewport to the device's width, which helps ensure that the web page is optimized for the device's screen size. The initial-scale attribute is used to set the initial scale of the viewport, which determines the zoom level when the page is first loaded.

    By setting the viewport meta tag, you can ensure that your web page is optimized for different devices, and that the layout and content are properly scaled and sized for the device's screen.

10. Responsive Designs

2 Comments

@niteshguptav63
niteshguptav63 Nov 17, 2024 at 1:39 PM

I am not able to access videos from second class and further. I have already completed first class

@niteshguptav63
niteshguptav63 Nov 16, 2024 at 10:56 AM

When will I get my course?

@admin79
admin79 Nov 17, 2024 at 1:29 PM

Now, Your query was resolved.

Frequently Asked Questions About Sciaku Courses & Services

Quick answers to common questions about our courses, quizzes, and learning platform

Didn't find what you're looking for?

help_center Contact Support