SO中文参考
首页
(current)
程序语言
c
java
python
c++
go
javascript
swift
c#
操作系统
linux
ubuntu
centos
unix
数据库
oracle
mysql
mongodb
postgresql
框架
node.js
angular
react-native
avalon
django
twisted
hadoop
.net
移动开发
android
ios
搜索
我的练习网页完全是空的,我不知道为什么一切练习</</desc> <question vote="-1"> <pre><code><!DOCTYPE html> <head> <meta charset="utf-8"> <meta name="description" content="This is a practice website"> <title>Everything Practice</title> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <link href="Resources/css/index.css" rel="stylesheet" type="text/css"> </head> <html> <body> <!--Title and Banner--> <header> <title> <h1>Flip 'n' Sell</h1> <title> <nav> <ul> <li>Home</li> <li>Info</li> <li>Help</li> <li>Selling</li> </ul> </nav> </header> </body> </html> </code></pre> <p>这是到目前为止我的页面的 HTML 和 CSS。正如您所看到的,我所做的只是将其样式设置为不存在默认边距和填充。</p> <p>当我加载这个并查看网页时,什么都没有,什么都没有。我做错了什么?</p> <pre><code>* { margin: none; padding: none; box-sizing: border-box; } </code></pre> </question> <answer tick="true" vote="1"> <p>将开始的 <pre><code><html></code></pre> 标签移至 Doctype 声明下的 <pre><code><head></code></pre> 标签之前,并从正文中更改或删除 <pre><code><title></code></pre> 标签。</p> <p>标题标签定义整个文档的标题(浏览器选项卡上显示的内容),在渲染页面时可能会造成一些混乱。<a href="https://www.w3schools.com/tags/tag_title.asp" rel="nofollow noreferrer">请参阅 W3 School 关于标题标签的帖子</a></p> </answer> <answer tick="false" vote="1"> <pre><code><!DOCTYPE html> <html> <head> <meta charset="utf-8"> <meta name="description" content="This is a practice website"> <title>Everything Practice</title> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <link href="Resources/css/index.css" rel="stylesheet" type="text/css"> </head> <body> <!--Title and Banner--> <header> <h1>Flip 'n' Sell</h1> <nav> <ul> <li>Home</li> <li>Info</li> <li>Help</li> <li>Selling</li> </ul> </nav> </header> </body> </html> </code></pre> <p>修复了您的标题标签未终止的问题。需要相应的 <pre><code></title></code></pre> 但实际上标题标签不属于那里,应该像我在示例中那样删除。</p> </answer> </body></html>
问题描述
投票:0
回答:0
html
css
最新问题
你可以像String.fromCharCode一样使用String.fromCodePoint吗
我无法在glue版本4中使用mongo连接url,但在glue版本3中工作正常
Wordpress 短代码可有效从数据库获取服务价格
有人可以解释一下Microsoft Unity吗?
使用 CloudFormation 模板中的现有 S3 作为参数传递到 SSM 文档
如何获取datadog应用程序关键范围
将LiDAR连接到Android手机
贪吃蛇游戏,如何让蛇不向相反的方向移动?
AWS Cloudformation:导出在 Codepipeline 内的代码构建操作中导出的变量?
使用“不”SSH 的开发容器在 VS Code 中进行远程开发
React useState Hook:在 useEffect 之前状态不更新
这个错误是什么以及如何修复它? - java.lang.VerifyError:错误的局部变量类型
使用“SendMessage”发送应用程序击键 (vb.net)
静态java反射-类字段的枚举(预编译)
如何将多个数据框附加到 R 中的多个相应的 csv 文件中?
Laravel 图像不显示
UsageError:未找到行魔术函数'%rm'
正则表达式c#模式
salt-stack:test.show_notification没有出现
当我 pod spec lint 我的库时,我收到“xcodebuild:返回不成功的退出代码”
© www.soinside.com 2019 - 2024. All rights reserved.