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
Release: 2016-06-24 12:13:43
Original
1479 people have browsed it

Block-level tags

你好<table></table>先生
Copy after login

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

What?
It’s obviously a row-level tag! ! !


Reply to the discussion (solution)

That’s wrong

It’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 .

is a row-level tag. And you can save the opening tag header

and line break.

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


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. . .


Can 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.

source:php.cn
Statement of this Website
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
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template