Help!

https://www.codecademy.com/courses/learn-html/lessons/html-forms/exercises/creating-form?action=resume_content_item

When I passed the case-1 in instructions I have inserted a h1 tag nested in form tag, i got my heading at centre of my web page but actually i didnt specify any alignment to it.

the alignment is specified in css:

h1 {
  text-align: center;
}

Yeah, Fine
But how does the html and Css files are interconnected ?
In what way does the browser know it ?

Html is a markup language, a set of instructions to render something in the browser engine. Within html you mention the css files you want to load:

<link rel="stylesheet" type="text/css" href="style.css">
1 Like

Thanks a lot :heart: @stetim94
Hope I catch you again .

1 Like