只需一行 iframe HTML,本站覆盖的任意国家公共假日日历就会出现在你的页面上——同样的官方日期、同样的八种语言、同样的政府在修订日历后我们发布的更正。挂件免费,唯一的条件是保留日历下方的署名链接,指向其数据来源的国家页面。
1 · 选择国家与年份
本站发布的每个国家与年份都有形如 /embed/<country>/<year> 的嵌入地址——例如 /embed/china/2027。下方的代码生成器列出了全部可用组合。
2 · 复制 iframe 代码
默认尺寸适配侧栏或正文栏中的十二宫格日历;宽高可随意调整。日历会自动适配所在页面的深色与浅色配色。
3 · 保留署名链接
日历下方的链接就是许可条款:它指向日期来源的国家页面。日历会自动更新——当政府调整日期、我们重新发布后,你嵌入的日历随之变化,无需任何操作。
每个国家一段代码——其中的 URL 始终指向最新年份,年份滚动后嵌入内容自动保持最新。
<iframe src="https://globalholidayscalendar.com/zh/embed/argentina/2028" width="420" height="860" style="border:0;border-radius:12px" loading="lazy" title="Public holidays argentina 2028"></iframe><iframe src="https://globalholidayscalendar.com/zh/embed/australia/2028" width="420" height="860" style="border:0;border-radius:12px" loading="lazy" title="Public holidays australia 2028"></iframe><iframe src="https://globalholidayscalendar.com/zh/embed/austria/2029" width="420" height="860" style="border:0;border-radius:12px" loading="lazy" title="Public holidays austria 2029"></iframe><iframe src="https://globalholidayscalendar.com/zh/embed/belgium/2028" width="420" height="860" style="border:0;border-radius:12px" loading="lazy" title="Public holidays belgium 2028"></iframe><iframe src="https://globalholidayscalendar.com/zh/embed/brazil/2028" width="420" height="860" style="border:0;border-radius:12px" loading="lazy" title="Public holidays brazil 2028"></iframe><iframe src="https://globalholidayscalendar.com/zh/embed/canada/2028" width="420" height="860" style="border:0;border-radius:12px" loading="lazy" title="Public holidays canada 2028"></iframe><iframe src="https://globalholidayscalendar.com/zh/embed/chile/2028" width="420" height="860" style="border:0;border-radius:12px" loading="lazy" title="Public holidays chile 2028"></iframe><iframe src="https://globalholidayscalendar.com/zh/embed/china/2028" width="420" height="860" style="border:0;border-radius:12px" loading="lazy" title="Public holidays china 2028"></iframe><iframe src="https://globalholidayscalendar.com/zh/embed/colombia/2028" width="420" height="860" style="border:0;border-radius:12px" loading="lazy" title="Public holidays colombia 2028"></iframe><iframe src="https://globalholidayscalendar.com/zh/embed/czech-republic/2028" width="420" height="860" style="border:0;border-radius:12px" loading="lazy" title="Public holidays czech-republic 2028"></iframe><iframe src="https://globalholidayscalendar.com/zh/embed/france/2029" width="420" height="860" style="border:0;border-radius:12px" loading="lazy" title="Public holidays france 2029"></iframe><iframe src="https://globalholidayscalendar.com/zh/embed/germany/2029" width="420" height="860" style="border:0;border-radius:12px" loading="lazy" title="Public holidays germany 2029"></iframe><iframe src="https://globalholidayscalendar.com/zh/embed/ghana/2028" width="420" height="860" style="border:0;border-radius:12px" loading="lazy" title="Public holidays ghana 2028"></iframe><iframe src="https://globalholidayscalendar.com/zh/embed/greece/2028" width="420" height="860" style="border:0;border-radius:12px" loading="lazy" title="Public holidays greece 2028"></iframe><iframe src="https://globalholidayscalendar.com/zh/embed/hong-kong/2028" width="420" height="860" style="border:0;border-radius:12px" loading="lazy" title="Public holidays hong-kong 2028"></iframe><iframe src="https://globalholidayscalendar.com/zh/embed/india/2028" width="420" height="860" style="border:0;border-radius:12px" loading="lazy" title="Public holidays india 2028"></iframe><iframe src="https://globalholidayscalendar.com/zh/embed/indonesia/2028" width="420" height="860" style="border:0;border-radius:12px" loading="lazy" title="Public holidays indonesia 2028"></iframe><iframe src="https://globalholidayscalendar.com/zh/embed/ireland/2028" width="420" height="860" style="border:0;border-radius:12px" loading="lazy" title="Public holidays ireland 2028"></iframe><iframe src="https://globalholidayscalendar.com/zh/embed/italy/2029" width="420" height="860" style="border:0;border-radius:12px" loading="lazy" title="Public holidays italy 2029"></iframe><iframe src="https://globalholidayscalendar.com/zh/embed/japan/2029" width="420" height="860" style="border:0;border-radius:12px" loading="lazy" title="Public holidays japan 2029"></iframe><iframe src="https://globalholidayscalendar.com/zh/embed/kenya/2028" width="420" height="860" style="border:0;border-radius:12px" loading="lazy" title="Public holidays kenya 2028"></iframe><iframe src="https://globalholidayscalendar.com/zh/embed/macau/2028" width="420" height="860" style="border:0;border-radius:12px" loading="lazy" title="Public holidays macau 2028"></iframe><iframe src="https://globalholidayscalendar.com/zh/embed/malaysia/2028" width="420" height="860" style="border:0;border-radius:12px" loading="lazy" title="Public holidays malaysia 2028"></iframe><iframe src="https://globalholidayscalendar.com/zh/embed/mexico/2028" width="420" height="860" style="border:0;border-radius:12px" loading="lazy" title="Public holidays mexico 2028"></iframe><iframe src="https://globalholidayscalendar.com/zh/embed/netherlands/2028" width="420" height="860" style="border:0;border-radius:12px" loading="lazy" title="Public holidays netherlands 2028"></iframe><iframe src="https://globalholidayscalendar.com/zh/embed/new-zealand/2028" width="420" height="860" style="border:0;border-radius:12px" loading="lazy" title="Public holidays new-zealand 2028"></iframe><iframe src="https://globalholidayscalendar.com/zh/embed/nigeria/2028" width="420" height="860" style="border:0;border-radius:12px" loading="lazy" title="Public holidays nigeria 2028"></iframe><iframe src="https://globalholidayscalendar.com/zh/embed/norway/2028" width="420" height="860" style="border:0;border-radius:12px" loading="lazy" title="Public holidays norway 2028"></iframe><iframe src="https://globalholidayscalendar.com/zh/embed/philippines/2028" width="420" height="860" style="border:0;border-radius:12px" loading="lazy" title="Public holidays philippines 2028"></iframe><iframe src="https://globalholidayscalendar.com/zh/embed/portugal/2028" width="420" height="860" style="border:0;border-radius:12px" loading="lazy" title="Public holidays portugal 2028"></iframe><iframe src="https://globalholidayscalendar.com/zh/embed/saudi-arabia/2027" width="420" height="860" style="border:0;border-radius:12px" loading="lazy" title="Public holidays saudi-arabia 2027"></iframe><iframe src="https://globalholidayscalendar.com/zh/embed/singapore/2028" width="420" height="860" style="border:0;border-radius:12px" loading="lazy" title="Public holidays singapore 2028"></iframe><iframe src="https://globalholidayscalendar.com/zh/embed/south-africa/2028" width="420" height="860" style="border:0;border-radius:12px" loading="lazy" title="Public holidays south-africa 2028"></iframe><iframe src="https://globalholidayscalendar.com/zh/embed/south-korea/2028" width="420" height="860" style="border:0;border-radius:12px" loading="lazy" title="Public holidays south-korea 2028"></iframe><iframe src="https://globalholidayscalendar.com/zh/embed/spain/2029" width="420" height="860" style="border:0;border-radius:12px" loading="lazy" title="Public holidays spain 2029"></iframe><iframe src="https://globalholidayscalendar.com/zh/embed/sweden/2029" width="420" height="860" style="border:0;border-radius:12px" loading="lazy" title="Public holidays sweden 2029"></iframe><iframe src="https://globalholidayscalendar.com/zh/embed/taiwan/2028" width="420" height="860" style="border:0;border-radius:12px" loading="lazy" title="Public holidays taiwan 2028"></iframe><iframe src="https://globalholidayscalendar.com/zh/embed/thailand/2028" width="420" height="860" style="border:0;border-radius:12px" loading="lazy" title="Public holidays thailand 2028"></iframe><iframe src="https://globalholidayscalendar.com/zh/embed/turkey/2028" width="420" height="860" style="border:0;border-radius:12px" loading="lazy" title="Public holidays turkey 2028"></iframe><iframe src="https://globalholidayscalendar.com/zh/embed/uae/2027" width="420" height="860" style="border:0;border-radius:12px" loading="lazy" title="Public holidays uae 2027"></iframe><iframe src="https://globalholidayscalendar.com/zh/embed/united-kingdom/2028" width="420" height="860" style="border:0;border-radius:12px" loading="lazy" title="Public holidays united-kingdom 2028"></iframe><iframe src="https://globalholidayscalendar.com/zh/embed/united-states/2029" width="420" height="860" style="border:0;border-radius:12px" loading="lazy" title="Public holidays united-states 2029"></iframe><iframe src="https://globalholidayscalendar.com/zh/embed/vietnam/2028" width="420" height="860" style="border:0;border-radius:12px" loading="lazy" title="Public holidays vietnam 2028"></iframe>免费——商业与非商业网站均可使用。唯一条件是保留日历下方的署名链接,它指向日期来源的国家页面,且必须保留在嵌入文档中。
本站发布的全部组合——下方代码清单与实时 registry 同步,新增国家或年份后随之增长。每个挂件覆盖一个国家与一个年份;需要更多时可并排嵌入多个 iframe。
可以。URL 以路径前缀携带语言——同一份日历在 /embed/china/2027 是英文、/zh/embed/china/2027 是中文、/ja/… 是日文,站点全部八种语言皆有。替换代码中的前缀即可。
它们与本站所有页面同源:以政府公告为准,发布前经第二独立来源交叉核验。若某年政府尚未确认,日历会与本站一样标注「暂定」。
会。iframe 每次随你的页面渲染时都会从本站加载日历,因此当这里修正日期或新增年份,全网所有嵌入都会同步反映,你的 HTML 无需改动。