Em hãy khai báo thêm các quy tắc định dạng cho trang web “Bài10-NV1.html để
Giải thích
Bước 1.Tạotệp “Bài 10-NV1.css”
Mởphầnmềm Sublime Text.
Tạotệpmớivàghilưuvớitên Bài10-NV1.css.
Bước 2. Khai báocácquytắcđịnhdạng CSS nhưsau:
.blue {coler: steelblue;}
.red {coler: darkred;}
.orangered {font-family: “verdana”; -webkit-tap-highlight-color: transparent; margin: 0px; padding: 0px; user-select: text; background-repeat: repeat-x; background-position: left bottom; background-image: var(--urlSpellingErrorV2, ); border-bottom: 1px solid transparent;">orangered:}
input.yellow {background-color: yellow; }input.blue {background-color: blue; color: white;}
P{margin: 30px;}
p.custom-boder {padding: 20px; boder-style:solid;}
Bước 3. Ghi lưutệp.