CSS- way of introduction

A: CSS Overview

Internet is now the front end of three layers:

  • HTML: HTML. From the semantic perspective description page structure .
  • CSS: Cascading Style Sheets. From the aesthetic responsible for the angle of page styles .
  • JS: JavaScript. From the interactive point of view of the description page behavior

CSS: Cascading Style Sheet, cascading style sheets. CSS role is to add a variety of styles HTML page tags, display the definition of a web page . To put it simply: CSS web page content and display style separation , improved display

 

Two: CSS way of introduction

2.1 inline style

    <form action="">
        姓名: <input type="text" style="font-size: 21px">
    </form>

Then within 2.2 style

 

 2.3 External style

2.3.1 link style

 

 2.3.2 Importing style

 

Guess you like

Origin www.cnblogs.com/wc89/p/11184892.html