While editing and designing blogspot templates, you must have encountered many difficulties because of very small errors that you can't find. Errors such as not being able to save the code, or after saving the code, it is encrypted, highlighted in red, highlighted in orange...
Next I will guide you through a few tips that I know in design template blogspot.
1 Ctrl+z, Ctrl+y
Similar to Word text editor, Ctrl+Z - Undo button. Meaning to return to a previous action, you really need this key combination because if you just finished editing but got an error, or want to return to the previous action, press Ctrl+Z.
And the remaining key combination is Ctrl+Y - Redo. This means progressing to the previous operation. If you just pressed Ctrl+Z and want to advance to the last action, press Ctrl+Y again.
And everyone should know Ctrl+C (copy), Ctrl+V (paste), Ctrl+X (cut), right?
2 The entity name must immediately follow the '&' in the entity reference
If after pressing save, the error text appears The entity name must immediately follow the '&' in the entity reference appears and it is pointed to the text/html paragraph, then add it amp; Post later &. Then the code will be completed &
If after pressing save, the error text appears The entity name must immediately follow the '&' in the entity reference appears and it is pointing to the javascript, add the tag pair \\<![CDATA[ and \\]]>. Then we will have it.
<script type='text/javascript'>//<![CDATA[
Javascript placed in this
//]]></script>
3 Unable to save error due to javascript
As mentioned in section 2, we just need to add the tag pair \\<![CDATA[ and \\]]> You can save it right away.
4 Error: lag, page freeze, page freeze
This error may be because your code is too confusing, or too compressed.
To fix it, we turn off this page, then go back to edit the html. Quickly ctrl+A and copy paste into notepad+. Next we will find excessively compressed code (usually javascript and css), using the tool Beautify code to stretch. Edit again in notepad+. Then copy and paste it back into blogger normally.5 The element type must be terminated by the matching end-tag
In blogger, tags are required to have a closing tag. So whether the input tag, br, img... must always include a closing tag.
We can change it to <br/>, <input type='' class=''/>, <img src=''/>
6 You should use page breaks when writing articles
I recommend that you use page breaks, to only extract the necessary paragraphs to the index page.
6 You should use page breaks when writing articles
I recommend that you use page breaks, to only extract the necessary paragraphs to the index page.
If you are on the editing page, you can add a break on the toolbar.
If you are on an html page, you can use <a name="more"></a>.
7 The all head meta
If you are not too good at adding seo meta tags to your liking, you can take a look comprehensive set of meta tags yourself or just one line <b:include data='blog' name='all-head-content'/> placing it below the opening <head> tag is enough.
8 Remove unused code but still save it
You want that code not to run/appear on your website but you still want to keep it so we can do it in the following way:
- More <!-- at the top and --> at the end for HTML
- More /* at the top and */ at the end for CSS and mid-line javascript
9 Being continuously updated
7 The all head meta
If you are not too good at adding seo meta tags to your liking, you can take a look comprehensive set of meta tags yourself or just one line <b:include data='blog' name='all-head-content'/> placing it below the opening <head> tag is enough.
8 Remove unused code but still save it
You want that code not to run/appear on your website but you still want to keep it so we can do it in the following way:
- More <!-- at the top and --> at the end for HTML
- More /* at the top and */ at the end for CSS and mid-line javascript
9 Being continuously updated