0

Both html and css file write in notepad. It's working or not.

Html and css both code write in only one file it's possible or not

18th Apr 2020, 11:19 AM
GAJULA BALIJA MAHESH KUMAR
GAJULA BALIJA MAHESH KUMAR - avatar
5 Réponses
+ 3
Yes , they can be , there style attribute used for this purpose , just check it in css learning part and check the following links https://www.sololearn.com/discuss/414320/?ref=app https://www.sololearn.com/discuss/38263/?ref=app
18th Apr 2020, 11:30 AM
Raj Kalash Tiwari
Raj Kalash Tiwari - avatar
+ 2
You can do both styling and structure in the same file, however it is standard to keep the structure and style in html and css file separately. It's easy to debug, maintain and easier for others to read your code which is always good practice.
18th Apr 2020, 11:31 AM
Bhavya
Bhavya - avatar
+ 1
Also don't use notepad, it's not programmer friendly. Try something like atom or vscode.
18th Apr 2020, 11:33 AM
Bhavya
Bhavya - avatar
+ 1
Yes it will be work properly
19th Apr 2020, 5:07 PM
A S Raghuvanshi
A S Raghuvanshi - avatar
0
or notepad++
19th Apr 2020, 12:02 AM
David Paredes
David Paredes - avatar