HTML 基础

Posted by Elli0t on 2020-03-19

前端的基础菜的抠脚,还是得加强记忆(逃)

基础语法

页面自动跳转或者刷新

<meta http-equiv="Refresh" content="3;url=http://www.ybm911.work">
3是刷新时间,单位秒。

UTF8防止乱🐎

<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta charset=utf-8" />

<input>标签🏷️

html 标签类型属性type(file、text、radio、hidden等)详细介绍
https://www.cnblogs.com/steamed-bread/p/5020827.html

<meta>标签🏷️

<meta http-equiv="参数" content="参数变量值">
<meta http-equiv="Content-Language" content="zh-cn"/>

http-equiv:

<span>标签🏷️



<embed>标签🏷️

定义前入的内容,比如插件
<embed src="helloworld.swf" />

参考链接

https://blog.csdn.net/hello_word2/article/details/94834222
https://www.cnblogs.com/steamed-bread/p/5020827.html