<svg height="200" width="300" xmlns="http://www.w3.org/2000/svg"> <line x1="0" y1="0" x2="300" y2="200" style="stroke:red;stroke-width:2" /></svg> Try it Yourself » Code explanation:The <x1> and <y1> attributes define the start of the line (0,0) The <x2> ...
<!-- ..infoBody{font-size:10px; display:inline} ..infoHead{font-size:12px; display:inline} ..infoFrame{pos ition:absolute; top:50px; left:50px; width:90px; height:100px; background:cyan ; text-align:center} // --> The Heading This is some text which is spaced too larg...
What programming languages should I learn after my 40h html course (w3schools) and in which order? 1. CSS (is this even necessary? I am learning a lot through my html course - I would guess 25h course) 2. JavaScript (I would guess 40h course) 3. Python/PHP (I would guess ...
body { padding: 20px; font-family: 'Open Sans', sans-serif; } h1 { font-weight: 300; font-size: 24px; line-height: 1.6; background: #eee; padding: 20px; margin: 5px 0 25px 0; text-align:center; } h1 span { color: white; font-weight: 900; } h1 span { background: blac...