ghbondar / webDevClass-Hub

a repository to help introduce and orient students to the GitHub collaboration environment, and to support the web development classes at Pitt-Greensburg
GNU Affero General Public License v3.0
3 stars 0 forks source link

Where does <style> go in html? #20

Closed Ivurik closed 5 years ago

Ivurik commented 6 years ago

I am getting error messages that are telling me it is not allowed here.

ghbondar commented 6 years ago

@Ivurik For this assignment, you are creating a SVG-file... your root element should be:
<svg xmlns="http://www.w3.org/2000/svg" width="100%" height="100%"> not <html> and your file-type should be .svg not .html

ghbondar commented 6 years ago

For this assignment, instead of a <style> element, your are using the individual vales, such as:
<line x1="20" x2="750" y1="0" y2="0" stroke="black" stroke-width="1"/>