CSS गुणों के साथ, आप आसानी से HTML में तीन
उसके साथ, height:100px जोड़ें और मार्जिन सेट करें।
उदाहरण
आप तीन
<!DOCTYPE html> <html> <head> <title>HTML div</title> </head> <body> <div style="width: 100px; float:left; height:100px; background:gray; margin:10px"> First DIV </div> <div style="width: 100px; float:left; height:100px; background:yellow; margin:10px"> Second DIV </div> <div style="width: 100px; float:left; height:100px; background:red; margin:10px"> Third DIV </div> </body> </html>