html表头解释
Before I explain HTML I want to begin by restating a couple of points I made in a previous article.
在解释HTML之前,我想先重申上一篇文章中提到的几点。
Originally, the web did not have any interactive behavior and was essentially just displaying text files across a network via computer network protocols such as FTP.…Eventually, the web expanded with newer protocols such as DNS, HTTP and with HTML the web became accessible to the middle class for the first time with the introduction of the Personal Computer and web browsers.
最初, 网站没有任何交互行为 ,实际上只是通过诸如FTP之类的计算机网络协议在网络上显示文本文件。……最终,网站扩展为使用诸如DNS , HTTP和HTML之类的新协议。引入个人计算机和网络浏览器后,首次成为中产阶级。
You can read more about that later if you want.
如果需要,您可以稍后再阅读。
Well, it’s important because HTML was essentially just a way for academics to send documents to each other through and cite them more easily by using hypertext.
好吧,这很重要,因为HTML本质上只是学术人员通过相互发送文档并使用超文本更容易引用它们的一种方式。
What is HTML?Stands for HyperText Markup Language and contrary to what you may read on twitter, it is NOT a programming language. The last two letters tell you that much about the language. The first two letters, go back to that history I’m briefly alluding too.
什么是HTML? 代表超文本标记语言 ,与您在Twitter上可能读到的内容相反,它不是编程语言。 最后两个字母告诉您有关语言的信息。 前两个字母,可以追溯到我简短提及的历史。
HTML isn’t rocket science, it’s just a document.CSS isn’t hard either, its just a language we use to present the document.
HTML并不是火箭科学,它只是一个文档.CSS也不难,它只是我们用来展示文档的一种语言。
Now, in HTML5 there are too many tags to go over thoroughly in one minute, so instead, I made a short GIF that’s featured in my open source book.
现在,在HTML5中,太多的标签无法在一分钟内彻底遍历,因此,我做了一个简短的GIF,这是我的开源书中的特色。
In summary, we start with a self-closing tag called the doctype, <!DOCTYPE html>, early on this was used to address different implementations of HTML, but that's less common now with the HTML5 standard.
综上所述,我们开始用自闭的标签叫文档类型, <!DOCTYPE html>早就该被用于HTML的地址不同的实现,但现在这是不常见的与HTML5标准。
The more common name for a “tag” is an HTML5 element.
“标记”的更常用名称是HTML5 元素。
Next, we define the HTML tag and the most important thing here is to define the language, <html lang=”en”>. Then we have the <head> tag and that’s very important for defining our initial styles, scripts, and most importantly the metatag which set not only the favicon icons, title but also the preview of the webpage (such as when I share this article anywhere).
接下来,我们定义HTML标记,这里最重要的是定义语言<html lang=”en”> 。 然后我们有了<head>标记,这对于定义我们的初始样式,脚本非常重要,最重要的是,该metatag不仅设置了图标图标,标题,还设置了网页的预览(例如,当我在任何地方共享本文时)。
Notice that it is self-closing? <meta /> not every tag self-closes so it’s important to look up the tags that self-close and which are block or inline based because the latter plays a major role in styling.
注意它是自动关闭的吗? <meta />并不是每个标签都会自动闭合,因此,重要的是要查找自闭合且基于块或行的标签,因为后者在样式设计中起着主要作用。
We can use css 3 ways.1. inline CSS <style>
我们可以使用CSS 3种方式1。 内联CSS <style>
2. linked sheets, <link rel=”stylesheet” href=”./style.css”>
2.链接的工作表, <link rel=”stylesheet” href=”./style.css”>
3. Inlined elements
3.内联元素
<h1 style=”color:black;">Hello World</h1>HTML comment and it does not render for the user and are useful for communicating things for developers..
HTML注释,它不会为用户呈现,对于与开发人员进行交流非常有用。
The <a> tag is used for hyper links which goes back to what we
<a>标签用于超链接 ,该链接可以追溯到我们
You should now know *enough* HTML to get through the next lesson I plan to have on using Node’s HTTP protocol to send a file from a server. Here is a little teaser for that article.
您现在应该知道*足够*的 HTML,可以完成我计划使用Node的HTTP协议从服务器发送文件的下一课。 这是该文章的一个小预告片。
Like many of my articles, this article is written based off the content I’m putting together for my first open source book.
就像我的许多文章一样,本文是根据我为第一本开源书籍编写的内容编写的。
JavaScritp-First
JavaScritp优先
An Open Source Book that teaches anyone how to code with JavaScript using the node.js runtime environment rather than a browser and by the end, you will build a server and a website using JavaScript.
一本开源书,教任何人如何使用node.js运行时环境(而不是浏览器)使用JavaScript进行编码,最后,您将使用JavaScript构建服务器和网站。
The main purpose of this article isn’t to promote the book, because it’s free and open-source, but rather to slowly change people’s mind about how we are teaching web development.
本文的主要目的不是为了宣传这本书,因为它是免费的和开放源代码的,而是要慢慢改变人们对我们如何教授Web开发的看法。
翻译自: https://medium.com/the-innovation/html-explained-in-1-minute-84eafb1dd764
html表头解释
相关资源:html table 固定表头和列