Bold, italic and line breaks · 太字、イタリック、改行
This page needs a recent browser (with SharedArrayBuffer support). Please update Chrome, Edge, Firefox or Safari to the latest version. · このページには最新のブラウザ(SharedArrayBuffer対応)が必要です。Chrome、Edge、Firefox、Safariを最新バージョンに更新してください。
English
Make words stand out
<strong>makes text bold — for important words.<em>makes text italic — for a gentle emphasis.- Wrap only the word you want:
very <strong>important</strong> news.
日本語
文字を強調する
<strong>はテキストを 太字 にします — 重要な言葉に使います。<em>はテキストを イタリック にします — 柔らかい強調に使います。- 強調したい言葉だけを囲みます:
very <strong>important</strong> news。
<p>This cake is <strong>delicious</strong> and still <em>warm</em>.</p>
English
Line breaks
- Sometimes you want a new line inside one paragraph.
- Use
<br>— a single tag with no closing tag and nothing inside it. - It is like pressing Enter once.
日本語
改行
- 有时、1つのパラグラフ内で新しい行にしたい場合があります。
<br>を使用します — 闭じタグがなく、中身も空の単一タグです。- 这就像按了一次回车键。
<p>Roses are red<br>Violets are blue</p>
English
Common mistakes
<br>makes a line break and has no closing tag.- Use
<strong>and<em>for meaning, not just bold or italic looks.
日本語
よくあるミス
<br>は改行を生み、闭じタグはありません。- 単なる太字やイタリックの外見だけでなく、意味を使って
<strong>と<em>を使い分けてください。
English
Now you try
- Wrap a word to make it bold, and add a line break.
- Press ▶ after each change to see what happens.
日本語
あなたも試してみよう
- 言葉を囲んで太字にし、改行を追加します。
- 変更ごとに ▶ を押して結果を確認してください。
Make the word fresh bold. Wrap just that word in <strong> … </strong>. · freshという単語を太くしてください。その単語だけを<strong> … </strong>で囲んでください。
Add a <br> between the two lines so they show one above the other. · 2つの行の間に<br>を追加して、上下に表示させてください。