🔥 a 태그 초기화
🔥 ul & ol 태그 초기화
🔥 input 태그 초기화
✍🏻 html
<!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8" /> <meta http-equiv="X-UA-Compatible" content="IE=edge" /> <meta name="viewport" content="width=device-width, initial-scale=1.0" /> <title>Document</title> <style> a { font-weight: bold; font-size: 2rem; display: block; margin: 20px; } a { all: unset; } a:link { text-decoration: none; color: #3f464d; } a:visited { text-decoration: none; color: #3f464d; } a:active { text-decoration: none; color: #3f464d; } a:hover { text-decoration: none; color: tomato; cursor: pointer; } </style> </head> <body> <a href="https://velog.io/@jewon119">jewon119.velog</a> </body> </html>
✍🏻 html
<!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8" /> <meta http-equiv="X-UA-Compatible" content="IE=edge" /> <meta name="viewport" content="width=device-width, initial-scale=1.0" /> <title>Document</title> <style> .reset-ul, .reset-ol { list-style: none; padding: 0; margin: 0; } </style> </head> <body> <ul> <li>default1</li> <li>default2</li> <li>default3</li> <li>default4</li> </ul> <ol> <li>default1</li> <li>default2</li> <li>default3</li> <li>default4</li> </ol> <ul class="reset-ul"> <li>reset1</li> <li>reset2</li> <li>reset3</li> <li>reset4</li> </ul> <ol class="reset-ol"> <li>reset1</li> <li>reset2</li> <li>reset3</li> <li>reset4</li> </ol> </body> </html>
✍🏻 html
<!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8" /> <meta http-equiv="X-UA-Compatible" content="IE=edge" /> <meta name="viewport" content="width=device-width, initial-scale=1.0" /> <title>Document</title> <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/normalize/8.0.1/normalize.min.css" /> <style> form { display: flex; flex-direction: column; width: 400px; background-color: slategray; margin: 10px; } input { margin: 10px; padding: 10px; outline: none; border: none; background-color: cornsilk; border-radius: 5px; } input:focus { background-color: cornflowerblue; } </style> </head> <body> <form action="index.html"> <label for="id"></label> <input type="text" placeholder="input id" name="id" /> <label for="password"></label> <input type="password" placeholder="input password" name="password" /> <input type="submit" /> </form> </body> </html>