2017.02.05 --- front-end learning

process

I started learning basic HTML & CSS knowledge on freeCodeCamp.

Learning how to build a github repository, branch, how to use the pull request to merge the code.

On the Mu class also registered account, but it feels slower-paced courses, so switch to freeCodeCamp.

Emphasis today

  • <Title> xxx </ title> tag content will be displayed in the browser tab bar

  • Link has target = "_ blank" click opens a new browser page

  • Link-mail address

    <a href="mailto:[email protected]?subject=观了不起的盖茨比有感&body=你好,对此评论有些想法。">对此影评有何感想,发送邮件给我</a>
    

Which, sbuject is to be sent the message subject, body content. The first parameter to use? Add other parameters are separated by &

  • HTML submit data directly to the server, you can achieve text field, button, radio button, check box and other elements

 <form action="">
    <!--text field-->
    <input type="text" placeholder="xxx" required>
    <!--button-->
    <button type="submit">Submit</button>
    <!-- two radio buttons-->
    <label><input type="radio" name="indoor-outdoor"> Indoor</label>
    <label><input type="radio" name="indoor-outdoor"> Outdoor</label>
    </form>
  1. Interaction with the server data elements required in the form in.

  2. There are many types of input element type, including text, radio, checkbox, submit, reset and the like.

  3. element represents a logical name in the same group.

  4. Some elements to display characters need to add label.

* Action properties require further understanding

Guess you like

Origin www.cnblogs.com/homehtml/p/12554074.html