2080 2

BIT251 ยท 2080 ยท 10 marks

How inline, internal, and external CSS are used in an HTML document. Illustrate with examples. Your CSS should include at least one class selector and id selector.

How inline, internal, and external CSS are used in an HTML document. Illustrate with examples. Your CSS should include at least one class selector and id selector.[10]

Web Technology IChapter 5: CSS Styling and LayoutInline internal and external CSS methods

CSS (Cascading Style Sheets) can be applied to an HTML document in three ways: Method Location Attribute/Tag Used -------------------------------------- Inline Inside the HTML element style attribute Internal Inside the <head section <style tag External Separate .css file <link tag --- Inline CSS...