MENU

2020-11-15から1日間の記事一覧

Video タグの使い方

Video タグの使い方 タグの設置はこんな感じ <video src="sampe.mp4" width="300" height="300" controls id="my-video"></video> controls これは再生ボタン、再生時間などを表示してくれるバーの事 play() pause()メソッド 下記のように、videoの要素を取得して、play() pause()が行える <div class="container"> <section> <h2>audioタグ</h2> </section></div>

GitHub にHtmlを公開する

GitHub にHtmlを公開する html cssぐらいであれば、githubで公開できる 手順 1.html cssを作成する 2.githubレポジトリを作成する 3.pushする 4.github settingsでホスティングの設定をする 5. https://.github.io/<リポジトリ名> 1.html cssを作成する ディ…