Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8018827
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 4, 20262026-06-04T21:13:21+00:00 2026-06-04T21:13:21+00:00

On typical html page, I have images using img tag with height and width

  • 0

On typical html page, I have images using img tag with height and width already defined, so the browser doesn’t need to wait until it loads image and gets its dimension. But still, at the time when page is loaded, it doesn’t leave the space specified in image and resizes the page after images are completely loaded.

How can I force browser to leave the space even if image is not completely loaded during page rendering.

And also, now suppose if I have broken url on the page, will the browser leave its space or not?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-04T21:13:22+00:00Added an answer on June 4, 2026 at 9:13 pm

    When you specify width and height for an image, in HTML markup or in CSS, browsers will use those dimensions in page layout and will rescale (if needed) the image to fit those dimensions. Observations about situations where this does not happen need to be analyzed, first making sure the dimensions have been specified properly, then that they have not been changed (in client-side JavaScript). The page you mentioned has 986 markup errors, according to the W3C Markup Validation Service, and although most of the issues are formal, they may contain errors that affect rendering.

    If the src attribute value does not refer to an image, browsers are expected to render the value of the alt attribute in place of the image. The way they do this varies by browser. Modern browsers generally use the dimensions specified for the image (possibly truncating the text if it does not fit), so the overall layout is the same as if the image were there.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have the typical HTML "contact me" page, i.e. name, e-mail address and message.
I have typical web application based on PHP, HTML, and javascript. From an HTML
I have master page that contains the following asp.net form tag <form id=CommerceMasterForm runat=server>
I have an html page (let's call parent) with a link that opens another
I have typical rich gui fat clients and am considering moving to lighter html
I'm having trouble with UTF-8. common.jsp <%@ page language=java contentType=text/html; charset=UTF-8 pageEncoding=UTF-8%> typical.jsp <%@
I've built an upload button that's formatted to look like your typical html button,
http://something.com:80/somedir/index.html?type=test;one=onevalue#nose This is typical URI structure my question is what is #nose and how
The typical Python threadpool will have a structure like this one: def run(self): while
I have a typical mail.php script, which uses the mail() function. After the user

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.