<!DOCTYPE html> <html lang="zh"> <head> <meta charset="UTF8"> <meta name="viewport" content="width=devicewidth, initialscale=1.0"> <title>表白页面</title> <style> body { fontfamily: '微软雅黑', sansserif; backgroundcolor: pink; textalign: center; paddingtop: 100px; } h1 { fontsize: 48px; color: white; } p { fontsize: 24px; color: white; } button { fontsize: 24px; backgroundcolor: white; border: none; padding: 10px 20px; cursor: pointer; borderradius: 5px; } button:hover { backgroundcolor: lightblue; } </style> </head> <body> <h1>亲爱的,我喜欢你!</h1> <p>从见到你的那一刻起,我就被你的美丽和善良所吸引。</p> <p>我愿意用我全部的热情和努力,去呵护你、陪伴你,一起走过人生的每一个阶段。</p> <p>请给我一个机会,让我成为你的依靠,你的伴侣,你的爱人。</p> <button onclick="alert('谢谢你的回应!')">接受我的表白</button> </body> </html>
到此,以上就是小编对于“表白源码.html”的问题就介绍到这了,希望介绍的几点解答对大家有用,有任何问题和不懂的,欢迎各位朋友在评论区讨论,给我留言。