Are HTML and CSS played together on notepad under the head tag on notepad? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

Are HTML and CSS played together on notepad under the head tag on notepad?

I am a little bit confused as I started learning css after html.Css is also played in notepad under the <head> and <style> tag?

9th Aug 2018, 7:06 AM
Muhammad Abdullah
Muhammad Abdullah - avatar
1 Answer
+ 1
Writing HTML and CSS in the same document is referred to as internal CSS. With this format, the <style></style> tags go between the <head></head> tags. Or, you may create an external CSS file and add it to your HTML file’s <head></head> tags by using: <link rel=“stylesheet” type=“text/css” href=“YourCSSFileName.css”> In the second case, the <style></style> tags are not needed.
9th Aug 2018, 7:36 AM
NULL
NULL - avatar