HTML Responsive
To make an HTML page responsive simply add inside the <head> element.
<meta name="viewport" content="width=device-width, intial-scale=1.0" >
It's important to make pages responsive to properly display content on different scree sizes esp. on smaller screens.
With Viewport:
Without Viewport:
Example:
<!doctype html><html><head><title>HTML Responsive</title><meta name="viewport" content="width=device-width, intial-scale=1" ></head><body><h1>About Image</h1><img src="imgg.jpg" height="250px"><p>Lorem ipsum dolor sit amet, consectetuer adipiscing elit, sed diam nonummy nibh euismod tincidunt ut laoreet dolore magna aliquam erat volutpat. Ut wisi enim ad minim veniam,quis nostrud exerci tation ullamcorper suscipit lobortis nisl ut aliquip ex ea commodo consequat. Duis autem vel eum iriure dolor in hendrerit in vulputate velit esse molestieconsequat, vel illum dolore eu feugiat nulla facilisis at vero eros et accumsan et iusto odio dignissim qui blandit praesent luptatum zzril delenit augue duis dolore te feugaitnulla facilisi. Nam liber tempor cum soluta nobis eleifend option congue nihil imperdiet doming id quod mazim placerat facer possim assum. Nam liber tempor cum soluta nobis eleifendoption congue nihil imperdiet doming id quod mazim placerat facer possim assum</p></body></html>
Post a Comment