Introduction to unordered list property Hiding Methods JS and js
I took the test today and sorted out the wrong questions.
1. unordered list attributes
List-style is divided into three sub-categories
(1) list-style-type
None: no mark. Disc: solid circle (default ). Circle: hollow circle.
Square: solid square. Decimal: Number.
(2) list-style-position
The inside number or square style occupies the li width.
Outside is outside the li and does not occupy the li width.
(3) list-style-image uses an image to replace the marker of the list item
2. Four hidden Methods
(1) visibility: hidden hides the element, but the position occupied in the webpage is still occupied.
(2) display: The none element is displayed as none, not occupying the position.
(3) opacity: 0 transparency
(4) height: 0 the height is 0.
A Brief Introduction to JavaScript
The script language is used for special effect form verification.
1. Composition (1) ECMAScript Core
(2) Bom browser Object Model
Window
History
Location address
Document (Document submission click)
(3) Dom Document Object Model.
External file <script type = "text/javascript" src => </script> dual tag
2. Category
(1) <onClick = "alert ()">
(2) embedded (unlimited location)
<Script type = "text/javascript">
Alert ();
</Script>
<Script type = "text/javascript">
Function xxx (){
Alert ();
}
</Script>
(3) External
Comments // single-line comments/**/css comments use multiple lines of comments in js
Execute in order so js is placed behind the code displayed on the page
Q: How many JavaScript files can be stored in one program? Are each written at the position of the execution program?