CSS rules can be provide in a file that is divide to the
(content) HTML. If all pages link to this central CSS file, then the look of a
website can more easily be updated. For example, the color or size of all
level-one headings can be distorted by updating a single CSS rule. Slighter
webpage file sizes as the code obligatory to style content can be removed from person Web Pages; the size of each webpage file is reduced. Depending on the
benchmarks, file sizes may be synopsis by up to 60%improved webpage download speed
Once a style sheet has been it is typically stored on the user’s computer For
each subsequent webpage viewed, only the HTML needs to be downloaded.Improved rendering
speed Once a webpage has been downloaded, a browser processes the underlying
code to determine how content should be displayed. This process is referred to
as ‘rendering’. The time a webpage takes to render is affected by the
complexity of the code the browser receives. Using CSS to control the layout of
a page typically simplifies the code structure manufacture it ‘easier’ (faster)
for the browser to render. Streamlined protection
As less code is required for each webpage, both the chance
of coding errors and time requisite to add content to a website are reduced.
Changing presentation for different devices The CSS specification enables diverse
rules to be used depending on the device used to access the web. For example, a
unlike set of rules can be used to reformat a webpage for printing or viewing
on a mobile phone.Accessibility-additional features can be added to Web Pages
that provide ‘hooks’ for assertive technologies such as screen readers. (A
screen reader is a program that reads aloud the boundary to computer programs
and computer-based content, including Web Pages). CSS-based techniques can be
used to provide such hooks without impacting on the experience of mainstream
users. For example additional headings can be added to content that will only
be ‘seen’ by a screen reader. These headings can be used to provide additional
contextual information that would otherwise be communicated by the visual aim.
As an example, the at the foot of each glossary entry is precede by the invisible
heading: ‘Glossary Trivia ‘Table-less layout Prior to the introduction of CSS,
multi-column layouts could only be created using HTML tables. Unfortunately, at
a code-level, a table used for layout purposes cannot be differentiated from a
table used to tabular data (such as statistics). This has the maximum impact on
technologies that ‘read’ webpage content at a code, rather than visual, level.
If the meaning of content is affected by how it has been marked-up, then using
a table for layout purposes has the potential to change the meaning of the
content. Utilizing CS-positioning, layout can be achieved without compromising
content structure or meaning.Customization web browsing software
enables the user to easily override the author-specified styles. Although
admittedly requiring the user to know more about the mechanics of the web,
content display can be completely customhouse engine optimization
assign greater relevance to content originate first in the code, and/or limit
the amount of content indexed on each page to a convinced character-count. If
content blocks are positioned using CSS, the order of webpage code does not
need to match the display order. For example, the code for worldwide bars
positioned at the top of the screen may come after the content in the source.
No comments:
Post a Comment