English class

HTML hands type

What do we write first

We can change the language to Chinese, the title to whatever we want, nothing else.

Chapter tag

P Head header foot footer Main content aside div

© ©

Global properties: Properties that all tags have

  • Contenteditable allows users to edit content directly

  • Hidden Hidden label

  • Border-style = “1px solid red”; border-style = “1px solid red”; border-style = “1px solid red”; border-style = “1px solid red”; border-style = “1px solid red”; Since there are many global properties defined in the window, they cannot have the same name as those properties. So don’t use ID unless you have to, use class

  • Style sets the priority of inline styles over style: JS > HTML style tag > CSS

  • Tabindex A positive value, such as tabIndex = 1/2/3 /, indicates that 0 is accessed in sequence, -1 is accessed last, and no TAB is used

  • Title is used to display the complete content. Application scenarios: Text length change ellipsis single line text overflow: 1. Adjust CSS 2. 3, text-overflow: ellipsis:…. 4, overflow: hidden; The overflow is hidden, but I want to float the full content when I move the mouse over the omitted area, so I can set title=” complete content “, and I can do that

How to make<style>Tags displayed on the page?

Inside the < style > in the < body > And then set style {display: block} js.jirengu.com/xevecakopu/…

Clear the default style rest.css

To clear the default style code click: Here

The content label

  • Ol + LI (ordered List + list item
  • Ul + LI (unordered List + List item) An item in a list
  • Dl + DT + DD (Description list + D term + DD) Description list + objects to be described + content to be described
  • pre

    <pre></pre>Keep the space and enter keys; Without this tag, no matter how many Spaces, the default is to convert extra Spaces and the enter key to a space
  • code

    <code></code>For writing code

    If you need to write a line break, you can nest a pre tag

    <pre><code>var aaa = 1; console.log(a)</code></pre>
  • Hr horizontal separation line
  • Br a newline
  • Add this to the hyperlink to open a new window. If you don’t add this, you can open the new window on the current page
  • Em and strong indicate emphasis. Em indicates emphasis in tone. Strong indicates that the content is important
  • Quote Inline quote
  • Blockquote Line feed reference