HTML-EXTERNAL STYLING: We have already discussed styling in HTML in previous chapters, in this chapter we are going to discuss how to apply styles for HTML document or webpage using external sheet. it means if you have more pages in your site, at that time it helps you a lot. if you apply the style in External Style Sheet it will automatically apply to all pages which have a link to external style sheet using div or class attribute. otherwise, you need to apply CSS for each div or class for each page individually. to link an external style sheet to your document just add a piece of code in the head section for each document. below I will explain in detail with example & also watch the video for better understanding.
<!DOCTYPE HTML> <html> <head> <link rel="stylesheet" href="style.css"/> </head> <body> Once you link Style Sheet to your Document apply Styles in StyleSheet and Check. for better undeerstanding please watch below video. TRY IT FOR YOUR PRACTICE.