HTML에서
예시
다음 코드를 실행하여 HTML에 레이어를 추가할 수 있습니다 -
<!DOCTYPE html> <html> <head> <title>HTML layer Tag</title> </head> <body> <layer id = "layer1" top = "250" left = "50" width = "200" height = "200" bgcolor = "red"> <p>layer 1</p> </layer> <layer id = "layer2" top = "350" left = "150" width = "200" height = "200" bgcolor = "blue"> <p>layer 2</p> </layer> <layer id = "layer3" top = "450" left = "250" width = "200" height = "200" bgcolor = "green"> <p>layer 3</p> </layer> </body> </html>