---
title: "Discussion on \"html与css相关面试题\" | Hashnode"
description: "Discussion on \"html与css相关面试题\". HTML语义化？\n\n提高了代码的可读性。\n有利于SEO\n有利于内容的结构化。\n常见的语义化标签有header footer main article section aside nav\n\n\n\n块级元素与行内元素\n块级元素：\n\n总是从新的一行开始。\n宽高可控。\n宽度没有设置时，默认100%。\n块级元素可以包含块级元素和行内元素\n\n行内元素：\n\n和其他元素都在一行。\n宽高、内边距都是不可控。\n宽高就是内容的宽高，不可以改变。\n行内元素只能包含行内元素，不能包含块级元素。\n\n类型转化 \n\n转换为块元素..."
url: "https://hashnode.com/posts/htmlcss/62be810063efe017ba655a57"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [html与css相关面试题](https://zmblog.hashnode.dev/htmlcss?utm_source=hashnode&utm_medium=feed)

HTML语义化？ 提高了代码的可读性。 有利于SEO 有利于内容的结构化。 常见的语义化标签有header footer main article section aside nav 块级元素与行内元素 块级元素： 总是从新的一行开始。 宽高可控。 宽度没有设置时，默认100%。 块级元素可以包含块级元素和行内元素 行内元素： 和其他元素都在一行。 宽高、内边距都是不可控。 宽高就是内容的宽高，不可以改变。 行内元素只能包含行内元素，不能包含块级元素。 类型转化 转换为块元素...

Jul 1, 2022 · 2 min read · zmblog.hashnode.dev  
Updated Jul 8, 2022  
Read the article

-   [#6z2i6kv6aky](https://hashnode.com/tag/6z2i6kv6aky)

## Written by

[明](https://hashnode.com/@zm144)

@zm144

  
[View profile](https://hashnode.com/@zm144)

learn

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
