top of page
  • TikTok
  • X(旧Twitter)
検索

htmlコードの作り方

①開始/終了タグ(見出しタグ)について

<h1>~</h1>

<h1>→開始タグ

</h1>→終了タグ ※/が必要


②pタグについて

<p>~</p> 

段落を表示する


③aタグについて

 リンクを設置する

href=属性タグ


④ネストについて

 例:<p>Let' see <a href='https://youtube.com>youtube!</a></p>


⑤セクションについて

<section>

<h1>~</h1>

<p>~</p>

</section>


⑥最重要タグについて

<!DOCTYPE html>※重要

<html>

<head>

<meta carset="utf-8"> utf-8は文字化け防止

<meta name="viewport" content="width=device-width, initial-scale=1">これは丸暗

<title>~</title>タイトル名

<meta name="description" content="~">検索時に表示されるタイトル

</haed>

<body>



<h1>~</h1>

<p>~</p>

</body>

</html> htmlの終了



作ってみる

<!DOCTYPE html>

<html>

<head>

<meta carset="utf-8".

<meta name="viewport" content="width=device-width, initial-scale=1">

<title>test</title>

<meta name="description" content="test">

</head>

<body>

<h1>testdesu<h1>

<p>test2desu<p>

<p>let is go to <a href="https://youtube.com"</a>youtube!</p>

</body>

</html>


応用編も今度投稿します

 
 
 

最新記事

すべて表示
学校のパソコンでLineを使う方法

①制限がかかってないパソコンで学校のパソコンのアカウント(自分で用意したアカウントのほうが良い)で同期させる https://chromewebstore.google.com/detail/line/ophjlpahpchlmihnnnihgmmeilfjmjjc?hl=...

 
 
 

Comments

Rated 0 out of 5 stars.
No ratings yet

Add a rating
bottom of page