Writing basic HTML tags
<start tag>text</end tag> is the basic format of most HTML tags. Contents are placed into the text section.The most frequently used tags when editing text are <p> and <br>.
<p>This is a paragraph.</p>
Displayed in the browser as
This is a paragraph.
<p>The <br> tag defines a break</p>
Displayed in the browser as
The
tag defines a break.
tag defines a break.
These two are the most fundamental tags for editing passages.
Define full paragraphs with <p></p> and use <br> when there is a break.
Titles
<h> tags are used to define titles. Different title styles are marked with numbers, such as <h1> and <h2>On this website, title styles are set up as follows. They can be used in different situations.
<h1>This is H1 tag.</h1>
Displayed in the browser as
This is the H1 tag.
<h2>This is the H2 tag.</h2>
Displayed in the browser as
This is the H2 tag.
<h3>This is the H3 tag.</h3>
ブラウザ上の表示/Displayed in the browser as
This is the H3 tag.
<h4>This is the H4 tag.</h4>
Displayed in the browser as
This is the H4 tag.
<h5>This is the H5 tag. / これはH5タグです。</h5>
Displayed in the browser as
This is the H5 tag.
<h6>This is the H6 tag.</h6>
Displayed in the browser as
This is the H6 tag.
水平線(区切り線)を引くには/Creating Horizontal Lines
<hr> creates a horizontal line. There is no need for an end tag.<hr>
Displayed in the browser as
リストの書き方/Creating Lists
Lists are created by <ul> and <li>. Firstly, define a full (empty) list with <ul></ul>.Then, define each list item with </li>.
<ul> <li>List item 1</li> <li>List item 2</li> <li>List item 3</li> <li>List item 4</li> <li>List item 5</li> </ul>
Displayed in the browser as
- List item 1
- List item 2
- List item 3
- List item 4
- List item 5