Does Code Equal Slow Page Upload?
Because I am not yet ready to pay to use and edit the css of my chosen theme, I am making do with HTML coding to configure texts and paragraphs. I am no expert on techy stuff, so I wondered whether using code in the HTML editor will slow down the rate at which a page loads? I have heard it does a little but more so if you have graphics. I’m having minium graphics on mine but I’m still using code such as the Div and Span for each paragraph, for example. Some of my articles will be lengthy as well, about 4 or 5 scrolls down.
My main question is: will using code slow down the pages? And how much?
The blog I need help with is mbukee.wordpress.com.
A bit above my pay-grade – but the visual editor uses the exact same html stuff that you are doing with the html editor – so should not be noticeable unless you are doing some real weird code.
Not real weird code. Just that the text on the theme I am using is small and I’d like it to be 12pt verdana. That means I have to <div> each paragraph and code it to how I want it.
When you change the style of one paragraph, you use p tags, not div tags:
<p style="PROPERTIES AND VALUES HERE"> COMPLETE PARAGRAPH HERE </p>
(The p tags are already present in your sourcecode, you just don’t see them in the HTML editor if you haven’t applied any extra styling to the paragraphs.)
When you want to change the whole text, you don’t “div each paragraph”, you div the whole text. Plus font-size changes are best specified in percentages, not pts. Your coding should be like that:
<div style="font-family:verdana;font-size:110%;text-align:justify;"> COMPLETE CONTENT HERE </div>
And span tags are used for characters, words or phrases inside a paragraph. When you use this:
<p><div style="padding-bottom:17px;"><span style="font-size: 19pt; line-height: 100%;"><strong>Studies in Comparative Religion, Mythology, and Ancient History</strong></span></div></p>
you unnecessarily use four tags instead of one. Should be:
<p style="font-size:175%;font-weight:bold;line-height:100%;padding-bottom:17px;">Studies in Comparative Religion, Mythology, and Ancient History</p>
(You may need to change the numbers.)
The topic ‘Does Code Equal Slow Page Upload?’ is closed to new replies.