-
4.인라인 스타일 inline style공부/HTML5 + CSS 2018. 6. 6. 21:27
인라인 스타일 : 한줄짜리 스타일
태그안에 직접 지정해서 사용하므로 HTML과 섞어서 사용
<!DOCTYPE html><html lang="en"><head><meta charset="UTF-8"><meta name="viewport" content="width=device-width, initial-scale=1.0"><meta http-equiv="X-UA-Compatible" content="ie=edge"><title>Document</title></head><body><p style="color: #808000;">이 문장은 인라인 스타일이 적용되었습니다.</p><p>이 문장은 일반 문장입니다.</p></body></html>'공부 > HTML5 + CSS' 카테고리의 다른 글
6. 외부 스타일 시트 external style sheet (0) 2018.06.06 5. 내부 스타일 시트 internal style sheet (0) 2018.06.06 3. Hello World! (0) 2018.06.06 2. article, section, 특수문자 (0) 2018.06.06 1.Hello world! (0) 2018.06.06