首页 > 解决方案 > 在 HTML 中嵌入 Google 课堂

问题描述

我想在 HTML 文档中嵌入谷歌课堂页面,例如已分配、缺失和已完成的页面。到目前为止,这是我的代码:

<div class="box classroom assigned">
         <embed width="100%" height="100%" src="https://classroom.google.com/a/not-turned-in/all"></embed>     
      </div>
      
      <div class="box classroom  missing">
         <embed width="100%" height="100%" src="https://classroom.google.com/a/missing/all"></embed>
      </div>
      
      <div class="box classroom done">
         <embed width="100%" height="100%" src="https://classroom.google.com/a/turned-in/all"></embed>     
      </div>
.box {
   display: flex;
   box-sizing: border-box;
   border: 3px solid black;
   justify-content: center;
   align-items: center;
}
.classroom {
   width: 33.333333333333333333%;
}

我刚刚收到一条错误消息,显示“classroom.google.com 拒绝连接”。

任何帮助表示赞赏!

标签: google-classroom

解决方案



推荐阅读