Html code for the quote. Vertical line on the left

Greetings. In this tutorial I want to teach you how to change the design of quotes in wordpress. To begin with, let's figure out what citations are in the text.

Quote concept in wordpress

To highlight some important piece of text in an article, WordPress has such a cool thing as quotes (not those that were analyzed about). On the toolbar, this button looks like this.

Everyone knows how to use it - the left mouse button circles the text that we want to highlight, and press this button. Actually now you see this text in the design of quotes.

All templates are different, and, accordingly, the design of quotes is also different. In some cases, it is not beautiful at all, and which you want to change. Then I will learn how to fix it.

We start work.

I warn you that we will work with a language like CSS. The main thing is to understand the whole principle of what is happening and then it will not be difficult.

We find the file and the desired style.

You need to find the style.css file in the active theme. To do this, we go to the appearance, and then the editor, we find style.css. The next step is to find the style for blockquote. We look at the sequence of all actions in the picture.

  1. The path to the style.css file itself
  2. Search request. The search is opened by pressing CNTRL + F, and then paste the query.
  3. Found lines of code, they are needed.

We change the layout.

You need to understand what exactly you want to see. I advise you not to invent any pictures and the like. The maximum that can be done

  • Change background.
  • Font size and design.
  • A frame (solid, intermittent, dots), can be on one side or on both.

No pictures and the like, otherwise it will be, you don’t need unnecessary problems. I offer you a standard set.

Blockquote( background-color: #f6f6f6; border-left: 4px solid #1F37FF; box-shadow: 1px 2px 2px 2px rgba(0,0,0,.4); margin: 10px 10px 20px 10px; font: 20px georgia, Helvetica,sans-serif; font-style: italic; color: #000000; text-shadow: 2px 2px 2px #FFFFFF; )

Let's analyze this code line by line.

  1. The style for block quotes with an opening bracket.
  2. Background color.
  3. Stroke, I did only on the left, if you wish, you can do it from all sides, or from two.
  4. Block shadow.
  5. Indents so that the entire block does not stick to the text of the article.
  6. Font size and its ownership.
  7. Font style, I made italic.
  8. Font color.
  9. Text shadow.
  10. The closing brace style.

The CSS language is very simple and intuitive, you can read the lines and understand everything yourself. You can add, on the contrary, remove, but I repeat, do not insert pictures, because it is an adaptation. If you have knowledge, then apply, or ask in the comments.

The second way is with a plugin for formatting quotes on a WordPress blog

Of all the abundance, I liked one, this WP-NOTE is simple and not heavy. It is installed from the admin panel by searching for plugins.

Now let's learn how to use it.

It has 5 design options for different situations. First, I'll tell you how to write it. When writing an article, the text that will be highlighted must be enclosed in special tags, I will show it with an example [ note ], see the screenshot.

Clearly, I show all the tags and their transcripts.


Use for health. I don't use this plugin, blockquote answers everything for me, and it's a nice and lightweight plugin.

Two elements are used to create quotes in HTML: block element <Ыockquote> and inline element . Tag <Ыockquote> used to display long quotes that take up an entire paragraph and display it indented from the left and right edges. This tag allows you to place text compactly in the center of the page. It may contain other text formatting elements.

Element used for short quotes that are part of the current paragraph. Generally, browsers wrap the content of an element in quotation marks. Typically, a quotation does not include line breaks, and the quotation is considered a text-level element.

Both elements can have an attribute CITE, whose value is the URL of the quoted fragment.

Example: long and short quotes

  • Try it yourself "

can be easily determined using a vertical plumb line.

As A. A. Milne said, some people talk to animals.

Zenith is the highest point in the sky for an observer.
in the vertical direction, which, as is known,
can be easily determined using a vertical plumb line.

As A. A. Milne said, some people talk to animals.

Tag

An abbreviation is an abbreviation of words adopted in writing or a word made up of several parts of other words (university, research institute, executive committee, etc.). When using any acronym or abbreviation in the text, use the tag . Using the "title" attribute, you can set a tooltip with the decoding of the abbreviation. At the same time, search robots index exactly the full version of the transcript, defined in the "title" attribute. To distinguish abbreviations from regular text, they are underlined with a dotted line.

Example: Abbreviation

  • Try it yourself "

NASA is doing some incredible space experiments.

Ex. Stephen Hawking is a theoretical physicist and cosmologist.

NАSА!} hosts some incredible
space experiments.

Ex. Stephen Hawking is a theoretical physicist and cosmologist.

Tag

Tag
used to indicate contact information, addresses and telephone numbers. It may contain a postal address, as well as an email address or phone number. Most browsers display the element's content
italic font.

Example: Address

  • Try it yourself "

HTML Tutorial
Belyi Maksim Maksimovich
Northwestern Institute of Technology
Teplogorsk State University of Technology and Design
[email protected]

tags and

Tag used when referring to some primary source, such as a book, website, or academic work, to indicate the referenced source. Often used in bibliography, when attributing copyright or mentioning the name of the owner of a resource. Browsers display element content italic font.

Tag used to indicate the definition of some new term. The explanation of a new term (a scientific concept or a narrow-profile name) in the text is called a “definition”. Element can be used if a new term occurs in the text for the first time and its definition is immediately given. The browser displays such text in italics.

Example: Sources and definitions

  • Try it yourself "


Watching Stephen Hopkins' Red Dragon.

The momentum of the body is a vector quantity, the direction of its vector is the same
with speed direction

More than ten thousand tickets were sold in the first month alone
to watch a movie Red Dragon Stephen Hopkins.

body momentum is a vector quantity, the direction of its vector is the same
with speed direction

Tag

Tag controls the direction of the displayed text. It has a required dir attribute that takes the values ​​ltr (left to right) and rtl (right to left).

Example: Text Direction

  • Try it yourself "


If your browser supports bidirectional algorithm (bdo),
next line will be written from right to left (rtl)


This text is written from right to left.

Tasks

Final task

In this lesson, you got acquainted with some more logical formatting elements that determine not the appearance of the text, but its type, and depending on which browser applies one or another type of external formatting. All of the elements discussed above are containers and require a closing tag. Some of these elements may not change the appearance of the text at all, so the focus here was on how they define the meaning of text rather than how they format it.

It's time to review what you've learned and complete four simple tasks:

Short Quote

  • Decide for yourself »

Using the HTML boolean, add quotation marks around the word: "Theory".

Short Quote

Theory predicts new phenomena and new laws.

Short Quote

Theory predicts new phenomena and new laws.

long quote

  • Decide for yourself »

Put the following text inside an element that will make it a left indented quote. Specify the URL of the resource where this quote comes from: "http://www.world.org".

long quote A characteristic of the speed and direction of movement is a physical quantity - speed.

Element definition has been changed

and . The article explains what this means for developers.

Definition Changes

Element

represents content that is a quote from another source, possibly, including a mention of this source, which should be placed inside elements
or , and, possibly A containing notes and abbreviations.

Content inside an element

, except for reference to the source and changes in the text, it should be exact quotation from another source whose address, if any, may be specified in the cite attribute.

Rare case

One of the arguments against using cite and footer inside a blockquote to indicate the source of citations is that the quoted content itself can contain citations and citations. We can discard this argument for the reason that such cases are extremely rare. Opt Out and

for the sake of such a rare case is another example of theoretical purity that will not serve practical purposes.

But if you have such a case, currently the HTML specification suggests that you simply comment out the source indication in the quote code. (The question is still open and this tip is subject to change):

(Added 11/6/13, editor's note.) In response to feedback, we have decided to change our proposal for the specification to use the class attribute (which can be used to extend) the element to indicate that it is part of the source of the quote.

My favorite book is At Swim-Two-Birds

- MikeSmith

Definition Changes

The developers opposed changes to the definition:

Join the civil disobedience campaign against overly restrictive, backwards-incompatible element changes . Start using HTML5, but start using it wisely. Let's see how bad advice goes down the drain.

They also gave abstract and real examples of citing the source. Now, as a result of research, data analysis and discussion, developers can reuse in order to refer to

In this article, we will consider how to format a verbatim excerpt from any text in HTML, or in one word "quote", consider the nuances of working with multidirectional text and East Asian characters.

In accordance with the current legislation of the Russian Federation, it is allowed without the consent of the author or other right holder and without payment of remuneration, but with the obligatory indication of the name of the author whose work is used, and the source of borrowing: quoting in the original and in translation for scientific, polemical, critical or informational purposes is legal published works to the extent justified by the purpose of quoting, including the reproduction of excerpts from newspaper and magazine articles in the form of press reviews.

Quoting and quoting from the statement of an authoritative person, framed in the form of direct speech in informational, journalistic or analytical material, is a way to make the text objective, serious and more credible for the reader. Let's look at how short and long quotes are formatted using HTML.

Short Quotes

HTML tag (HTML Quote Element) is used to highlight short quotes(line quote). As a rule, all modern browsers automatically set opening and closing quotes at the beginning and end of the selected text.

Let's move on to an example:

</span> <q><span>

Money doesn't smell is a phrase believed to have been uttered by Emperor Vespasian.

cite attribute quote= "http://site/html/tag_q.php"> cite="tag_q.php">.

Long quotes

HTML tag

(HTML Block Quotation Element) is used to define a block quotation (a long quotation within a document) in a document. The text inside this tag is rendered as an aligned box with left and right padding (40px by default).

</span> Element Usage Example <blockquote><span>

Here is the information from Wikipedia:

"https://ru.wikipedia.org/wiki/Pecunia_non_olet"> money does not smell-a catchy Latin expression. Words attributed to Emperor Vespasian, allegedly uttered by him after receiving money from a tax on public toilets in Rome and addressed to his son Titus, who expressed displeasure at this matter.

Similar to tag cite tag attribute

specifies the URL of the resource from which the quote was borrowed. This attribute is not visible to the user (its application is not visible). It can be used by search engines and for statistical purposes when running scripts on the server side. It is allowed to specify as absolute addresses (for example:
quote= "http://site/html/tag_blockquote.php"> ), as well as relative ones (for example:
cite="tag_blockquote.php">.

Below is an example of how it is displayed in the browser:

Rice. 23a An example of using long quotes in HTML.

HTML title of the work

HTML tag (HTML Citation Element) is used to highlight the titles of works. It must include the title of the work or a link to the work (URL). By default, browsers render elements in italics.

Usage example:

Element Usage Example <cite><span><title> </head> <body> <cite> </span>"Woe from Wit"</cite>- a comedy in the verses of A. S. Griboyedov. First showing 1825</body> </html> <p>In the browser it looks like this:</p> <h2>Text output direction</h2> <p>Tag <bdo> (<i>HTML bidirectional override element</i>) is used to override the current text direction (sets the text output direction and is primarily intended for use with languages ​​that read from right to left, such as Arabic).</p> <p>Tag <bdo>used with the dir attribute and the values ​​ltr (left-to-right) or rtl (right-to-left) to specify the text direction from left to right or right to left.</p> <span><!DOCTYPE html> <html> <head> <title> </span> Tag usage example <bdo><span>

dir = "ltr" > Text direction left to right.

Text direction is right to left.

Example result:

In HTML 5 tag isolates a piece of text that should be rendered in the other writing direction and allows browsers to handle bidirectional text correctly. This element is useful when displaying text with different lettering directions.

For example:

</span> Tag usage example <bdi><span>

European Run Winners:

Member #1 ماقسيم 99 points - 1st place

Member #2 دميتري 97 points - 2nd place

Participant No. 3 John Connor 96 points - 3rd place

The result of our example:

Rice. 25 An example of the use of multidirectional languages.

Please note that browsers Internet Explorer and edge do not support tag .

Nuances of East Asian symbols.

Elements present in HTML , and

Of course, you have seen on some sites a ban on the use of the right mouse button. This feature primarily fights those who want to steal your content. This measure will not completely protect you from theft, but it will completely protect you from manual copying. Other options .
I do not recommend disabling the right mouse button if you post materials intended for copying on your blog. These can be codes, scripts, recipes, reference materials, and more. A copy ban in this case will turn away visitors from you, and your blog will become less useful for visitors. If plagiarism protection is important to you, then it is better to use adding your url at the end of the copy. Then you will be sure that if someone wants to publish elsewhere on the Internet, copied from you, then the copy-pastor is more likely to share a link to your blog.
This recipe is suitable for any website. You only need to paste the code on all pages of your blog:

AT Blogger add the code to the HTML/Javascript gadget in the Design tab. If you are using one of the latest themes on your blog (Emporio, Contempo, Soho, Notable), then don't forget to activate the visibility of the widget (tick "Visible to all", "Show "HTML/JavaScript" widget").
On the Wordpress add the code to the Text widget.

Author: Ivanova Natalia

2019-03-03

The holiday is approaching - International Women's Day. Let's get ready for it. You can congratulate girls and women in an original way using the postcard services, which will be discussed below.

You can use the same services that we used for.

Ready postcard services

Create a postcard March 8 online

Use the following services to create a postcard from scratch.

  1. Canva is a well-known functional photo editor. Here you will find many templates. Registration required.
  2. Printclick If you have your own business, you can order a batch of postcards with the logo and contacts of your company. You can also use the princlick postcard generator. Great promotion and inexpensive.
  3. Crello is an editor that requires registration. Do not be afraid of the English language, in the settings you can switch to Russian.
  4. Online postcard - for those who have a well-developed imagination, as they will have to create a postcard from scratch.
  5. Mumotiki - prepare a beautiful picture and you can add a congratulatory text here. By the way, if you just need to add text to the picture, then you can check out.

I hope that using one of these generators, you will be able to adequately congratulate your ladies on March 8!

Author: Ivanova Natalia

2019-02-17

The content of the article:

Google Plus is shutting down

The Google Plus platform did not live up to the hopes of the developers and will be completely removed on April 2, 2019. Together with it, the albums associated with it in Google Photos will disappear, and authorization on sites with a Google Plus account will become inaccessible. Since February 4, the function of creating Google Plus profiles, channels and pages has become inaccessible. If valuable content was stored on your account, then you can download a backup copy.
Most of the changes will affect bloggers running their blogs on Blogspot. Some G+ widgets, G+ comments, and your Google+ profile will no longer be available. This is stated in the notification in the Blogger admin panel:
Following the announcement of the end of the Google+ API scheduled for March 2019, there will be a number of changes to Blogger's integration with Google+ on February 4th.
Google+ Widgets. The +1 Button, Google+ Followers, and Google+ Badge widgets will no longer be supported in blog designs. All instances of these widgets will be removed from your blog.
Buttons +1. The +1 and G+ buttons will be removed, as well as the "Share to Google+" links below blog posts and in the navigation bar.
Please note that if you are using a custom template that includes Google+ features, it may need to be modified. Seek guidance from the person who provided you with this template.
Google+ Comments. Support for comments using Google+ will be discontinued, and standard Blogger comments will be restored for all blogs that use this feature. Unfortunately, comments posted via Google+ cannot be transferred to Blogger, so they will no longer appear on your blog.

Deleting Google Plus Comments

Unfortunately, the comments that were published in the system will be deleted forever. You can only use the same tool https://takeout.google.com to say backup comments from Google+ to your computer. Only a bootloader is not provided for it, and you can only restore comments manually in a rather crooked way. It's good that I'm in my time on time.

How to replace google plus profile with blogger profile

If you're blogging on Blogspot, it's a good idea to switch back from your Google Plus profile to your Blogger profile now (for those who switched to Google Plus in the past). I recommend doing this right now in order to avoid unforeseen situations that may occur when deleting Google Plus accounts.

How to get your Blogger profile back

This is easy to do in the Blogger admin settings:
Settings –> User Settings –> User Profile – select Blogger here


Save your changes.

Confirm the transition to and enter your name or nickname.

Don't forget to upload an avatar on your Blogger profile.

how to delete google plus profile

If you decide to get rid of your G+ profile once and for all, then go to your Google Plus page –> Settings –> scroll to the bottom of the page –> delete your Google Plus account:


Author: Ivanova Natalia

Today I will tell you what CSS3 is, what it is eaten with, where to look for it, how to write it correctly. I warn you, I will tell from myself, simplified for the general public, as I see it + examples. So, let's start from afar.
CSS is styles that describe the properties of an object. This means that they are in all existing engines, if you cannot find them, then either look in the wrong place, or they really do not exist ( curve site). Where are they usually found? Usually this is the root of the site, the name of the style.css file, although, in principle, the name is not as important as the .css extension if the file with such an extension is a style file.
See also on my blog.

Where to look for them?

The path to the file is attributed in the template between
" />
Blogspot is a little different, where styles are written right in the code, before the tag between
here styles

What do styles look like?

let's look at an example:
#header ( background: #fff; font-size: 13px; line-height: 1.5; font-family: Georgia,"Times New Roman","Bitstream Charter",Times,serif; color: #333; ) .contacts ( position: absolute; top: 20px; right: 10px; )
website site author contacts
You can view the styles on any site, all you need is a browser. Now you can easily recognize them by reading how they look in this article.
As you can see, the styles are written differently. Styles that start with a pound sign have a specific block id in , styles with a dot have a specific block class. Otherwise, the styles will not work. You can come up with whatever names you want, the main thing is that they correspond to the written id and class in html. Style properties must be enclosed in parentheses and followed by a colon ( look at the example above), the parameter is written and closed with a semicolon. It is allowed that in the last property at the end you can not put a semicolon, just a closing bracket.
It happens that CSS is written immediately in a block, without outputting it to a separate file:
site header

CSS on Blogspot

Styles can be written differently, I will explain later because of what. Opening the code, we can see this (look at the styles carefully, and you will see the familiar blogging tags that set the styles):
As you can see, the style property .Header h1 listed separately above. How to understand and find a property? very simple, font there is a parameter header.font, that's what we're looking for. We find it in the "Blog Title" property group for the ".header h1" style, inside 2 properties "header.font" and "header.text.color". Here we are changing them. This is done to speed up the reading of styles by the browser, so it makes fewer requests. After all, the property header.text.color may be repeated elsewhere. There is more below header.shadow.offset.left and others, the meaning in them is the same, I will not repeat.
When they say to search in css (or styles), it means we are looking in blogspot between tags
and usually before the tag
unless of course they are written directly in html (example above, styles in blocks). In other cms, everything is usually placed in a separate file with the .css extension

Author: Ivanova Natalia

2019-02-15

This latest article is written to provide up-to-date information on removing redundant links from Blogspot templates as well as new Blogger themes. As you know, there have been changes in the Blogger codes in 2018, so many code actions need to be done in a new way. Plus, there are new themes that are formed differently. In connection with these changes, we will analyze the topic of deleting links.
You can check your blog for external links on the services https://pr-cy.ru/link_extractor/ and https://seolik.ru/links. Do not forget that you need to check not only the main page of the blog, but also the page of records (posts) and pages (Page). A large number of external links open for indexing hinder .

How to Remove Links from the Old Standard Blogger Template

Using the Simple template as an example.
Such templates give the most inbound links. In my test blog, when installing a simple theme, when checking, 25 external links were found on the main page, of which 14 were indexed.
I remind you that before making changes in the template code, make a backup copy!
  1. Remove Blogger Link - https://www.blogger.com/. This link is wrapped in an Attribution widget. In the "Blog Design" tab, it appears as an Attribution gadget and . To remove it, go to the "Theme" tab-> edit HTML. By searching for widgets (list of widgets), we find Attribution1 and delete all the code along with the footer section in which it is enclosed. This is what the removed code looks like in collapsed form:


    And so the full code:














    We save the changes and check the blog for Attribution.
  2. You have certainly seen the “Wrench and Screwdriver” icons on your blog for quick editing of widgets. Each such icon carries with it an external link to Blogger. Now they are closed by the nofollow tag, but you still need to get rid of them. You will edit widgets in the Design tab.
    Here is an incomplete list of links that are encrypted in wrench icons (the blog ID will be yours)
    - HTML1 Widget: http://www.blogger.com/rearrange?blogID=1490203873741752013&widgetType=HTML&widgetId=HTML1&action=editWidget§ionId=header
    - HTML2 widget http://www.blogger.com/rearrange?blogID=1490203873741752013&widgetType=HTML&widgetId=HTML2&action=editWidget§ionId=header
    - Blog archive: http://www.blogger.com/rearrange?blogID=1490203873741752013&widgetType=BlogArchive&widgetId=BlogArchive1&action=editWidget§ionId=main
    - Blog Labels: http://www.blogger.com/rearrange?blogID=1490203873741752013&widgetType=Label&widgetId=Label1&action=editWidget§ionId=main
    - Popular posts: http://www.blogger.com/rearrange?blogID=1490203873741752013&widgetType=PopularPosts&widgetId=PopularPosts2&action=editWidget§ionId=main
    All these links are easy to get rid of. Find the tag in your blog template . It occurs as many times as there are widgets on your blog. Remove all occurrences of a tag .
  3. We remove links to quick editing of a blog entry (the “Pencil” icon). Makes it easier to edit posts, but carries the threat as an external link of the form: https://www.blogger.com/post-edit.g?blogID=1490203873741752013&postID=4979812525036427892&from=pencil
    How to delete:
    Method 1. In the Design tab, edit the "Blog Posts" element and uncheck the "Show "Quick Edit"" checkbox.
    Method 2. find the tag in the blog template and delete it. Save your changes and check your blog for the icon and link.
  4. Delete Navbar. Search for widgets in the html template of the Navbar1 blog and delete all the code along with the section.

    Namely:









    Now the Navbar on the blog does not provide indexable external links, but I believe that this is an extra element that does not carry a functional load, and it is better to remove it.
  5. Remove external links to images. When images are uploaded to a blog post, a link is automatically embedded in them. To remove such links, you need to edit all blog posts. In the “View” mode and then to the “Link” icon. If the image does not contain an external link, then when clicking on the photo in the post editor, the “Link” icon is not active (there is no icon illumination).

  6. Remove the link to the blog author's profile. Delete the author of the blog under the entry. To do this, find the code trueand write false instead of true. It turns out false
  7. Close the link from the “ ” widget from indexing with the nofollow tag. If you use the “profile” widget in your blog, then use a quick widget search in the blog template to find the Profile1 gadget code. You need to edit the widget code, replacing rel='author' with in two places and adding to the two links. You should get something like in the screenshot:


    Made using the example of editing a Google Plus profile. As a reminder, Google Plus will be phased out on April 2, 2019. Accordingly, after this date, it will be necessary to make other changes in the code of the “About me” widget.

  8. Check for external links on any Blogspot post page that has comments. Find and delete the code in the blog template:

    In the Blog Settings along the path Blog Settings -> Other -> Site Feed -> Allow Blog Feed, apply the following settings:

Remove external links from the new default Blogger template

Using the Notable theme as an example
  1. Removing Attribution (link below - Blogger Technologies)
    We find Attribution1 in the widget search blog template (list of widgets) and delete the code along with the section by analogy with the old Blogger template (see above 1).
  2. Remove the link from the "Report Abuse" widget. This is the ReportAbuse1 widget. We find in the search for widgets:
    The whole code looks like this:




  3. We check the blog post page with comments and remove links by analogy with the old blog templates (see above - point 8).
  4. Remove links from blog posts that are embedded in post images (see point 5).

Author: Ivanova Natalia