Skip to content

Instantly share code, notes, and snippets.

View pupubird's full-sized avatar
✍️
Edit Status

pupubird pupubird

✍️
Edit Status
View GitHub Profile
<html>
<head>
</head>
<body>
<p>Hello world</p>
<h1>Goodbye world</h1>
<a href="https://www.google.com">Google.com</a>
</body>
@pupubird
pupubird / inlineWalkthrough.css
Created April 9, 2019 07:19
inlineWalkthrough
/* inline css, have no external css file*/
@pupubird
pupubird / inlineWalkthrough.html
Created April 9, 2019 07:19
inlineWalkthrough
<html>
<head>
<title>My website</title>
</head>
<body>
<p style="color:red;">I want red color!</p>
<p style="color:blue;">I want blue color!</p>
<p style="font-size:20px;">I want 20px font size!</p>
/* have no external css file :C */
<html>
<head>
<title>My website</title>
<link rel="stylesheet" href="iAmCssFile.css">
</head>
<body>
<p>I want red color!</p>
<p>I want red color too!</p>
p{
color:red;
}
<html>
<head>
<title></title>
<link rel="stylesheet" href="marginCss.css">
</head>
<body>
<div class="container">
<div class="container2">
<p>I am the content</p>
</div>
.container{
width: 500px;
height: 500px;
background-color: black;
margin: 10% 20%;
padding: 50px;
}
.container2{
<html>
<head>
<title></title>
<link rel="stylesheet" href="clasid.css">
</head>
<body>
<p>I am normal</p>
<p>I am normal</p>
<p>I am normal</p>
<p>I am normal</p>
#red{
color: red;
}
.blue{
color: blue;
}