My first page
<!DOCTYPE html> <html> <head lang="en"> <meta charset="UTF-8"> <title>html 基础</title> <link rel="stylesheet" type="text/css" href="mystyle.css"> <style type="text/css"> p { color: brown; } </style> </head> < Body > < h1 of > Title. 1 </ h1 of > <-! External style ->
<-! {H1 of
Color: Chartreuse;
} -> < H2 > Title. 1 </ H2 > < H3 > Title. 1 </ H3 > < H4 > Title. 1 </ H4 > < P > upon </ P > ! <- Internal stylesheet -> the Hello < A href = "HTTP: \\ www.baidu.com" style = "Color: CornflowerBlue" > point I jump to Baidu </ A > / * 3 ways * / <a href="http:\\www.baidu.com"
> Learn paradise </ A > <-! <Img src = "imgs / myself.png"> > -
</ body >
</ HTML >
Here I learned the three kinds of stylesheets
Direct, external, internal
BRIEF basis, hey
You have to believe that the road ahead is not alone!