Home >Web Front-end >HTML Tutorial >Why is
a row-level tag in HTML? _html/css_WEB-ITnose

Why is
a row-level tag in HTML? _html/css_WEB-ITnose

WBOY
WBOYOriginal
2016-06-24 12:13:431502browse

Block-level tags

你好<table></table>先生

Row-level tags
你好<br/>先生

What? 076402276aae5dbec7f672f8f4e5cc81It’s obviously a row-level tag! ! !


Reply to the discussion (solution)

That’s wrong
076402276aae5dbec7f672f8f4e5cc81It’s obviously a block-level tag!!!

May I ask what browser you are using? ? ? It doesn't wrap? ? ? ? This is originally a line-break tag... The author takes a closer look at it and clears the cache to take a look

You can try changing the br height

I feel that LZ is speechless about this question .
076402276aae5dbec7f672f8f4e5cc81 is a row-level tag. And you can save the opening tag header

and line break.

means line break = =. Is your browser not wrapping?

076402276aae5dbec7f672f8f4e5cc81 It is just a line break tag and does not participate in the layout. Why do you care so much about it? Just know that it can break lines.

Can the height of "BR" be changed? ? Try

word-wrap: break-word;

This is also confusing, it will be really tiring to work like this~

is used for line breaks. Why bother with this. . .

076402276aae5dbec7f672f8f4e5cc81Can you fill in the background? adisplay: block; This css statement can convert some row-level tags into fast ones. However, br probably cannot be converted. Don’t worry about it, it’s meaningless.

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