Do these 3 things before closing this tab:
1Repair Windows errors before they cause bigger problems2Scan for outdated or missing drivers - takes under a minute3Clear out junk files and repair common Windows errorsUse an HTML <img> element, point its src attribute to an image file the browser can fetch, and provide accurate alternative text in alt. Add the screenshot’s intrinsic pixel dimensions with width and height so the browser can reserve the correct space while the file loads.
A minimal example is:
<img src="images/screenshot.png" alt="Screenshot showing the page's settings panel" width="1200" height="800">
The numbers are examples only. Replace them with the actual pixel dimensions of your image (or proportional dimensions with the same aspect ratio).
What the HTML image element does
The <img> element embeds an image in a document, while src identifies the image resource the browser should request. MDN describes it as: “The <img> HTML element embeds an image into the document.” See the MDN <img> reference for the complete attribute reference.
An image tag does not upload a file. The image must already be deployed in your site’s public files or be available at an image URL that visitors can access. The browser then requests that path when it parses the page.
#1 Best Overall
- CRISP CLARITY: This 23.8″ Philips V line monitor delivers crisp Full HD 1920x1080 visuals. Enjoy movies, shows and videos with remarkable detail
- INCREDIBLE CONTRAST: The VA panel produces brighter whites and deeper blacks. You get true-to-life images and more gradients with 16.7 million colors
- THE PERFECT VIEW: The 178/178 degree extra wide viewing angle prevents the shifting of colors when viewed from an offset angle, so you always get consistent colors
- WORK SEAMLESSLY: This sleek monitor is virtually bezel-free on three sides, so the screen looks even bigger for the viewer. This minimalistic design also allows for seamless multi-monitor setups that enhance your workflow and boost productivity
- A BETTER READING EXPERIENCE: For busy office workers, EasyRead mode provides a more paper-like experience for when viewing lengthy documents
Step-by-step: add one screenshot
-
Put the image in a public location
For a typical site, create an images directory beside your HTML file and copy the screenshot into it:
project/ ├── index.html └── images/ └── settings-panel.pngYour hosting setup may use a different public directory. What matters is that the deployed URL maps to the file and preserves its spelling and capitalization.
-
Write the image element
In the HTML where the screenshot should appear, add:
<img src="images/settings-panel.png" alt="Settings panel with notification preferences enabled" width="1440" height="900" >A relative URL such as
images/settings-panel.pngis resolved from the page’s URL. If the page is in/docs/setup/, a path intended to reach a site-level/images/directory might instead need../../images/settings-panel.png. Confirm the final deployed URL rather than assuming the development path is unchanged.Crashes, No Sound, or Screen Glitches?
Random freezes, missing sound and display glitches usually trace back to one bad driver. Find and replace yours safely.Free scan · under a minutePC Slower Than It Used to Be?
A free scan shows the junk files, broken settings and background clutter dragging Windows down - then fixes them in one click.Free scan · Windows 10 & 11Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy. -
Use a URL when the image is hosted elsewhere
You can point
srcto an absolute HTTPS URL:<img src="https://example.com/assets/settings-panel.webp" alt="Settings panel with notification preferences enabled" width="1440" height="900" >The remote server must allow the browser to fetch the resource, and the URL must remain stable. A broken, private, misspelled or case-mismatched URL produces a missing image.
-
Check the deployed page
Open the production page, use the browser’s developer tools Network panel if necessary, and verify that the image request returns the expected file. Test a hard refresh and a device-sized viewport, not only a cached desktop copy.
Rank #2
Philips 22 Inch Computer Monitor FHD 100Hz VA VESA Flicker-Free, 221V8LB- CRISP CLARITY: This 22 inch class (21.5″ viewable) Philips V line monitor delivers crisp Full HD 1920x1080 visuals. Enjoy movies, shows and videos with remarkable detail
- 100HZ FAST REFRESH RATE: 100Hz brings your favorite movies and video games to life. Stream, binge, and play effortlessly
- SMOOTH ACTION WITH ADAPTIVE-SYNC: Adaptive-Sync technology ensures fluid action sequences and rapid response time. Every frame will be rendered smoothly with crystal clarity and without stutter
- INCREDIBLE CONTRAST: The VA panel produces brighter whites and deeper blacks. You get true-to-life images and more gradients with 16.7 million colors
- THE PERFECT VIEW: The 178/178 degree extra wide viewing angle prevents the shifting of colors when viewed from an offset angle, so you always get consistent colors
Write useful alt text
Alternative text is read by assistive technology and is shown when an image cannot load. Describe the information a reader needs from the screenshot, not merely the fact that it is a screenshot. For example:
alt="Billing dashboard showing a $0 balance and the Download invoice button"conveys the visible state and control.alt="Three-step installation diagram: download, configure, deploy"identifies the sequence represented by the image.- For a screenshot that is purely decorative and adds no information, use
alt="". Keep the attribute present but empty so assistive technology can skip it.
Do not put a long transcript of every pixel in alt. If the screenshot contains essential detail, provide that detail in nearby HTML text or a linked long description, while keeping the alt value concise and purposeful. Avoid phrases such as “image of” or “screenshot of” unless the fact that it is a screenshot is itself relevant.
Set width and height correctly
Use integer pixel values matching the image’s intrinsic dimensions:
<img src="images/report.png" alt="Quarterly report summary" width="1600" height="1000">
These attributes let the browser calculate the aspect ratio and reserve space before the image downloads, reducing layout shifts. They do not force the file to contain exactly that many pixels; they communicate its intended dimensions. If you display it at a different size, keep the same ratio. For a 1600×1000 image, a 50% presentation size is 800×500, not 800×400.
If you do not know the intrinsic dimensions, inspect the file’s properties or image editor and use the actual values. Do not copy the illustrative 1200×800 values from examples unless they match your file.
Make a screenshot responsive
For a single source that should shrink with its container, combine intrinsic dimensions with CSS:
Rank #3
- Clear visuals. Fluid motion: A 144Hz refresh rate and 1ms MPRT deliver smooth, tear‑free motion across work, gaming, and streaming for clearer, more fluid viewing.
- Eye comfort: TÜV Rheinland 3‑star* certification reduces harmful blue light while preserving stunning color quality without compromise. *TÜV Rheinland 3-star eye comfort certification.
- Wide viewing angle: Get consistent views across a wide 178° /178° viewing angle.
- In-Plane Switching (IPS): See excellent color accuracy and consistency across wide viewing angles with In-plane Switching (IPS) technology.
- Ultra-thin bezels: Maximize your viewing experience with thin bezels.
.screenshot {
display: block;
max-width: 100%;
height: auto;
}
<img class="screenshot" src="images/settings-panel.png" alt="Settings panel with notification preferences enabled" width="1440" height="900">
max-width: 100% prevents overflow on narrow screens, and height: auto preserves the ratio. The HTML dimensions still allow the browser to reserve space before the image is available.
Use srcset and sizes for multiple resolutions
If you have several files of the same screenshot at different widths, let the browser select an appropriate candidate:
<img
src="images/settings-800.png"
srcset="images/settings-400.png 400w,
images/settings-800.png 800w,
images/settings-1600.png 1600w"
sizes="(max-width: 600px) 100vw, 800px"
alt="Settings panel with notification preferences enabled"
width="1600"
height="1000"
>
The w descriptors state each file’s pixel width. The sizes value tells the browser how wide the image will be in the layout, so it can choose without downloading every candidate. Keep the aspect ratio consistent among candidates. Do not mix width descriptors (w) and pixel-density descriptors (x) in one srcset; choose one notation for a given attribute.
Use pixel-density candidates when the layout width is fixed
For a screenshot displayed at a known CSS width, density descriptors can provide a standard and a high-density version:
<img
src="images/flow-800.png"
srcset="images/flow-800.png 1x, images/flow-1600.png 2x"
alt="Checkout flow with the address step selected"
width="800"
height="500"
>
Do not add sizes to this density-based example; use either density or width descriptors according to the layout and asset set.
Use picture for alternate crops or formats
Use <picture> when conditions require different sources, such as an art-directed mobile crop or a format choice:
Rank #4
- CURVED FOR ENHANCED ENGAGEMENT: An immersive viewing experience with a curved monitor that wraps more closely around your field of vision; It creates a wider view, enhancing depth perception and minimizing peripheral distraction
- SMOOTH PERFORMANCE FOR SEAMLESS CONTENT: Stay in the action when playing games, watching videos, or working on creative projects; The 100Hz refresh rate reduces lag and motion blur so you don't miss a thing in fast-paced moments¹
- MORE GAMING POWER: Gain the edge with optimizable game settings; Color and image contrast can be adjusted to see scenes more vividly and spot enemies hiding in the dark; Game Mode adjusts any game to fill the screen so you can view every detail²
- KEEP IT EASY ON THE EYES: Care for your eyes and stay comfortable, even during long sessions; Advanced eye comfort technology certified by TÜV reduces eye strain by minimizing blue light and reducing irritating screen flicker²
- INCREASED VERSATILITY: Connect to more; Plug devices straight into your monitor for increased flexibility, making your computing environment even more convenient
<picture>
<source media="(max-width: 600px)" srcset="images/settings-mobile.webp">
<source type="image/avif" srcset="images/settings-desktop.avif">
<img
src="images/settings-desktop.png"
alt="Settings panel with notification preferences enabled"
width="1440"
height="900"
>
</picture>
Keep the fallback <img> inside <picture>. It supplies the fallback source, dimensions and the single alt value. The MDN responsive images guide explains source selection and art direction.
Common paths and markup failures
The image icon or broken-image text appears
- Check the path relative to the HTML document, not your editor’s project root.
- Check filename capitalization and extension. A server running on a case-sensitive filesystem treats
Shot.PNGandshot.pngas different files. - Confirm the image was copied to the deployed public directory and that the URL returns the file directly.
- Encode special URL characters or rename files to simple names without spaces.
The image loads locally but not after deployment
Local development may resolve a path that the production route does not. Open the production image URL directly, inspect the request status, and update src to match the deployed directory structure. A build tool may also rename or fingerprint assets; use the generated public URL when required by that tool.
The image is stretched or squashed
Make the declared and actual ratios agree. Check CSS rules that set both width and height independently. For a fluid image, set max-width:100%; height:auto and provide accurate intrinsic dimensions.
The page jumps while the screenshot loads
Add correct width and height attributes, or reserve an equivalent aspect-ratio box in CSS. Incorrect dimensions can reserve the wrong space, so fix the values rather than choosing arbitrary numbers.
Screen readers announce unhelpful text
Rewrite alt around the screenshot’s purpose. Use an empty value only when the image is decorative; do not omit alt from informative images.
Performance and delivery choices
- Choose an image format supported by your audience and appropriate to the source. Keep the source and fallback paths valid; the HTML technique does not require one universal format.
- Serve dimensions that match the largest display you actually need. Oversized screenshots increase transfer cost, while undersized files become blurry when enlarged.
- Use
srcsetandsizeswhen the same screenshot is delivered at materially different display widths. A singlesrcis simpler when one source is sufficient. - Use
loading="lazy"for screenshots far below the initial viewport when deferred loading is appropriate. Avoid lazy-loading the main image a visitor needs immediately. - Keep the image URL cacheable and stable when your deployment permits it. If you replace a file at the same URL, account for browser and CDN caching.
Or skip the browser setup
If you still need to create the screenshot before embedding it, ScreenshotNeo returns a screenshot or PDF from one GET request. It accepts consent banners as a visitor and removes more than 60 known consent platforms, newsletter popups and chat widgets before capture; each step can be turned off. Bot checks or CAPTCHAs, blank pages, timeouts, failed loads and cache hits are not billed, and response headers identify the page verdict and billing status. Its MCP server provides take_screenshot, get_page_info and capture_pdf tools for Claude, Cursor and other MCP clients.
Quick wins for a faster PC:
Clear out junk files and repair common Windows errorsFree Scan →Fix the driver behind crashes, sound loss and screen glitchesFind Drivers →See the ScreenshotNeo API documentation for parameters and authentication. These runnable examples save the returned image file.
Best Value
- 【INTEGRATED SPEAKERS】Whether you're at work or in the midst of an intense gaming session, our built-in speakers provide rich and seamless audio, all while keeping your desk clutter-free.
- 【EASY ON THE EYES】 Protect your eyes and enhance your comfort with Blue-Light Shift technology. This feature reduces harmful blue light emissions from your screen, helping to alleviate eye strain during long hours of use and promoting healthier viewing habits.
- 【WIDEN YOUR PERSPECTIVE】Our sleek minimal bezel design ensures undivided attention. The nearly bezel-free display seamlessly connects in a dual monitor arrangement, delivering an unobstructed view that lets you focus on more at once, completely distraction-free.
cURL
curl -G "https://api.screenshotneo.com/v1/shot" -d access_key=YOUR_API_KEY --data-urlencode url=https://stripe.com -o shot.webp
Python
import requests
r = requests.get(
"https://api.screenshotneo.com/v1/shot",
params={"access_key": "YOUR_API_KEY", "url": "https://stripe.com"},
timeout=90,
)
r.raise_for_status()
open("shot.webp", "wb").write(r.content)
Node.js
const q = new URLSearchParams({ access_key: 'YOUR_API_KEY', url: 'https://stripe.com' });
const res = await fetch(`https://api.screenshotneo.com/v1/shot?${q}`);
if (!res.ok) throw new Error(`HTTP ${res.status}`);
require('fs').writeFileSync('shot.webp', Buffer.from(await res.arrayBuffer()));
After saving the file into your site’s public images directory, reference it with the same <img> pattern and write alt text describing the page state. ScreenshotNeo also supports full-page capture with lazy images loaded, CSS-selector element capture, dark mode, device presets and custom viewports, retina scale, PDF options, custom CSS and JavaScript, clicks, waits, request blocking, headers, cookies, user agents, authorization, timezone, geolocation, transparent backgrounds, resizing, chosen cache TTLs, signed links, asynchronous jobs with signed webhooks, bulk capture of up to 100 URLs per call, a usage API and an OpenAPI specification.
The Free plan includes 1,000 screenshots per month with no card. Paid plans start at $5 for 3,000 shots; Growth is $15 for 15,000, Pro $39 for 60,000, Scale $99 for 250,000 and Business $249 for 1,000,000. Yearly billing gives two months free, and every feature is on every plan. Create a free ScreenshotNeo account to get the 1,000 monthly screenshots without adding a card.
Final verification checklist
- The deployed
srcURL returns the intended image. - The filename, directory and letter case exactly match.
- The
altvalue conveys the screenshot’s relevant information, or is empty for decoration. widthandheightmatch the intrinsic ratio.- Responsive CSS prevents overflow, and responsive sources are used only when multiple candidates solve a real delivery need.
- The page works with images disabled or unavailable, because the surrounding text and alt treatment still communicate the essential information.
Frequently Asked Questions
Can I use a screenshot URL instead of storing the file in my project?
Yes. Set src to an accessible HTTPS image URL. The remote server must allow the browser to fetch it, and the URL must remain available.
Recommended Free Tools
Is alt required for every screenshot?
Informative images need meaningful alternative text. A purely decorative image should use alt="" so assistive technology skips it.
Do width and height resize the original file?
No. They communicate the intrinsic dimensions and aspect ratio to the browser. Use CSS or responsive sources for presentation size and delivery choices.
When should I use picture instead of srcset?
Use srcset for alternate resolutions of the same image. Use picture when you need different crops or sources under different conditions, while retaining an img fallback.
Quick Recap
Product prices and availability are accurate as of the date/time indicated and are subject to change. Any price and availability information displayed on Amazon at the time of purchase will apply.
What’s actually slowing this PC down?
Pick the symptom - the matching free tool is one click away.

