Content directory:
HTML supplement
Javascript
HTML supplement
1. Display label
The Inline-block property of display automatically takes 3px width
<span style= "Display:inline-block;width:80px;height:50px;background-color: #00a2ca" ></span><span Style= "display:inline-block;width:80px;height:50px;background-color:red;" ></span>
If you want to cancel this 3px pixel, you need to set the second span property to Float:left
2. IMG Tag
- The IMG tag is bordered by default, and can be seen by IE browser, with chrome and Firfox not seeing borders
- The Imgalt property can customize what is displayed when a picture does not exist.
3. iframe nested Other site tags
<Body><iframewidth=420pxHeight=330pxname=aaframeborder=0src=http://www.cctv.com></iframe><!--scrolling Indicates whether the page scroll bar is displayed, the optional parameter is auto, yes, no, and if omitted, the default is auto. -</Body>
Demo
Python devops Development (15)----scripts