tonight i need your body

wdnmd
wdnmd

Re-lable, we have several different type parameters:
 text is written in the text type of parameter

 Enter the password regardless of what the stars are displayed

 Enter the date of this calendar is a

 radis radio circles options

 checkbox to tick the option box shape

 hidden hidden text

 file used to upload files to the backend




There are several buttons Types



 button   
This is a normal button, seemingly useless, but there is great potential



 reset   
is a credit button



 submit   
submit button can automatically trigger actions submitted form data form

input tags can increase disable attribute, disable this box

input tag can add value property is the default value

  男<input type="radio" name="gender" value="male">
    女<input type="radio" name="gender" value="female" checked>

You can add a checked attribute

These are form content

css content is relatively simple, there are a variety of selectors

基本选择器<br>
    元素选择器<br>



id selectors



class selectors



universal selector



combination selector

div span descendant selectors



div> span son selector



div + span adjacent selectors



div ~ span brother selectors



we will input the state after the box mouse into is called the input gets focus focus focus

state after mouse-out called the input box loses focus

Pseudo-element selectors (remove the negative impact caused by floating)

You can add text by css

选择器优先级<br>
    1.选择器相同的情况下 引入方式不同<br>
        遵循就近原则 谁离标签更近 就听谁的<br>


    2.选择器不同的情况下 <br>
        行内选择器  >   id选择器(其次)  >    类选择器(使用最频繁)  >  元素选择器<br>

Guess you like

Origin www.cnblogs.com/jimGraymane/p/11853173.html