Doubt about page width, None display and size (MB)

Asked

Viewed 129 times

6

  1. There is a width ideal for a web page?
  2. When we put an image with display: none, the image is loaded along with the page load or when we click on it?
  3. What size (MB) is considered "lightweight" for a website?
  • 2

    'Cause so many negative votes if the question is pertinent, I don’t understand this community crowd

1 answer

2


1 - Take a look over design responsivo, over the width, the ideal is 100%, always your page will have this width, but your content must have this width also to fill the whole area:

width: 100%;

2 - The nonein the display only hides the element on the page, it is normally loaded at the time that page is required.

3 - There is not an ideal size for website, because its weight may be for example 40MB, but it does not mean that the customer will carry all this size but only the page he is accessing and its department.

  • 1

    who is this webmaster who will make a page with 40mb kkk, I think @Ney meant 40kb

  • 3

    He meant an entire site, not just a page, notice the answer, said regardless of the size of the site it will not be fully loaded, but rather the current page and its dependencies.

  • 1

    i understand just ironed the fact if it is count font-end with back-end can give even more depending on the size of the site

  • and for which size is considered light?

  • 1

    There is not much a pattern bro, not sure for me would be something between 1-2,5MB (relying on image files etc that are dependencies of the page). But I’m not sure that’s a hard thing to say.

  • a "lightweight" 1MB site can be heavier to load than a 10MB site. The way to program influences the speed of loading.

  • Not so much kk exaggeration the form of programming can influence as long as the site has a database and the developer does not know how to use it, besides when using a lot of external content.

Show 2 more comments

Browser other questions tagged

You are not signed in. Login or sign up in order to post.