1
1

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

HTML composition

Posted at

This article is about several tags wrapped up, after reading the book, for instance, usage and position on a web site.
1冊ですべて身につくHTML & CSSとWebデザイン入門講座[第2版] (DL特典:Webデザイナーのポートフォリオの作り方入門講座) (1冊ですべて身につく)

Layout

image.png
image reference: https://chot.design/html-css-beginner/5cac8c19c5ec/

<header> Tag

This tag creates header, including a logo image, a page title and a navigation menu in most situations.

See the Pen <header> Tag by Nao (@naopon-hamumu) on CodePen.

<nav> Tag

This is used for a navigation menu, often located at

See the Pen <nav> Tag by Nao (@naopon-hamumu) on CodePen.

<main> Tag

See the Pen Untitled by Nao (@naopon-hamumu) on CodePen.

<article> Tag

We can make higlighted articles of what we would like to by this tag.
example: CBC NEWS

See the Pen <article> Tag by Nao (@naopon-hamumu) on CodePen.

<section> Tag

we can see the section tag, having one theme consisted of multiple things, for example, "DISCOGRAPHY" on timelesz.

See the Pen Untitled by Nao (@naopon-hamumu) on CodePen.

<aside> Tag

This tag is suitable putting contents aside, not related to what mainly convey.
We can see the web "はてなブログ" site, using this tag.

See the Pen <aside> Tag by Nao (@naopon-hamumu) on CodePen.

<footer> Tag

Any page we can see this tag at the bottom, written about copyright and so on.
example: 中島健人|STARTO ENTERTAINMENT

See the Pen <footer> Tag by Nao (@naopon-hamumu) on CodePen.

<div> Tag

This tag has not decided roles like other tags I showed you. In the site "ILLIT JAPAN OFFICIAL SITE", the tag is used to give id on <div> to make hamburger menu.

<div>
</div>

References

1
1
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
1
1

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?