Home  >  Article  >  Web Front-end  >  What are the html row elements?

What are the html row elements?

青灯夜游
青灯夜游Original
2021-10-29 18:39:347011browse

html row elements are: a, abbr, acronym, b, bdo, big, br, cite, code, dfn, em, font, i, img, input, kbd, label, q, s, samp , select, small, span, strong, u, etc.

What are the html row elements?

The operating environment of this tutorial: Windows 7 system, HTML5 version, Dell G3 computer.

In HTML, the full name of line element is inline element, also known as inline element, which means that it will not automatically wrap after writing, and the element has no width and height.

Inline elements do not have their own independent space. They exist attached to other block-level elements. Therefore, setting attributes such as height, width, and inner and outer margins on inline elements is invalid.

HTML inline elements:

  • a - anchor;

  • ##abbr - Abbreviation;

  • acronym - first letter;

  • b - bold (not recommended);

  • bdo - bidi override;

  • big - large font;

  • br - line break;

  • cite - citation;

  • code - computer code (required when citing source code);

  • dfn - definition field;

  • em - emphasis;

  • font - font setting (not recommended);

  • i - italics;

  • img - image;

  • input - input box;

  • kbd - definition Keyboard text;

  • label - table label;

  • q - short quote;

  • s - underscore (not recommended);

  • samp - define sample computer code;

  • select - project selection;

  • small - small font text;

  • span - commonly used inline container, defining blocks within text;

  • strike - underline;

  • strong - bold emphasis;

  • sub - subscript;

  • sup - superscript;

  • textarea - multi-line text input box;

  • tt - telex text;

  • u - underscore;

  • var - defines variables.

Recommended tutorial: "

html video tutorial"

The above is the detailed content of What are the html row elements?. For more information, please follow other related articles on the PHP Chinese website!

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn