首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >标头标签大小调整属性

标头标签大小调整属性
EN

Stack Overflow用户
提问于 2022-01-31 16:53:16
回答 1查看 18关注 0票数 0
代码语言:javascript
复制
<body>
   <header height="100px" width="100px">
    <p>InstaText is a user-friendly paraphrasing tool that helps you rewrite your text. InstaText improves and enriches your content to make it more readable and understandable. Free registration. Rewriter. Rewrite online. Free trial. Paraphrase onlinenstaText is a user-friendly paraphrasing tool that helps you rewrite your text. InstaText improves and enriches your content to make it more readable and understandable. Free registration. Rewriter. Rewrite online. Free trial. Paraphrase onlinenstaText is a user-friendly paraphrasing tool that helps you rewrite your text. InstaText improves and enriches your content to make it more readable and understandable. Free registration. Rewriter. Rewrite online. Free trial. Paraphrase onlinenstaText is a user-friendly paraphrasing tool that helps you rewrite your text. InstaText improves and enriches your content to make it more readable and understandable. Free registration. Rewriter. Rewrite online. Free trial. Paraphrase online</p>
代码语言:javascript
复制
             if i use the height and width with img it works but why wont it work on header tag?
EN

回答 1

Stack Overflow用户

发布于 2022-01-31 16:59:08

维度属性的设计允许网站指定外部资源的大小,这样就可以在加载之前提供占位符。

header元素不加载外部资源。

如果您想为布局指定元素的尺寸,可以使用使用CSS,它是在1996年引入的。

票数 0
EN
页面原文内容由Stack Overflow提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://stackoverflow.com/questions/70929761

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档