何でもとりあえず書き始められる、HTMLテンプレート(随時更新)。
2022年1月現在あたりだと、jQueryの最新版は3.6.0、jQueryUIの最新版は1.13.0 あたりなのかも知れない。
<!DOCTYPE html> <html lang="ja"> <head> <meta charset="utf-8"> <meta http-equiv="Pragma" content="no-cache"> <meta http-equiv="Cache-Control"content="no-cache"> <title>This is Tab TItle</title> <style> /* スタイルシートコードを記述 */ </style> </head> <!-- スタイルシートコードについては、以下のように別ファイルからも取り込み可能。 その場合は.cssの中に<style></style>は必要ない <link rel="stylesheet" type="text/css" href="my.css" /> --> <body> <!-- HTML部品設置を記述 --> <h1 id="hello">Hello HTML.</h1> <script src="https://ajax.googleapis.com/ajax/libs/jquery/3.5.1/jquery.min.js"></script> <script src="https://ajax.googleapis.com/ajax/libs/jqueryui/1.12.1/jquery-ui.min.js"></script> <link rel="stylesheet" href="https://ajax.googleapis.com/ajax/libs/jqueryui/1.12.1/themes/smoothness/jquery-ui.css"> <!-- <script src="/socket.io/socket.io.js"></script> --> <script type="text/javascript"> // ***javascriptのプログラムを記述*** // var socket = io(); window.addEventListener("DOMContentLoaded",function(){ }); // socket.on("hoge", ()=>{ // }); </script> <!-- プログラムは以下のように別ファイルからも取り込み可能。 <script type="text/javascript" src="./my.js"></script> --> </body> </html>