How to view the page source code and element code

Internet VKontakte

27.04.20199264

Not all VK users visit their page every day; Moreover, many people almost forget about having an account. But time passes, and the need arises to look at deleted VKontakte messages, change your avatar, or, if there is a need to secure your credentials, change your password. How to do this, knowing the old one, and what to do if it has been successfully forgotten - let's try to figure it out.

On the computer

In order to change the code of any page in the Yandex browser, you need to open the console. The console is designed for a deeper scan of the site. It offers features such as loading speed tracking, a code editor, and page error detection.

In order to change the html code, you should do the following:

  1. First, open in a new tab the site where you need to edit the page code. Next, click on the three lines at the top and select additional.

  2. Then open the tab “Additional tools", after which a new menu pops up.

  3. Then select "JavaScript Console" or "Developer Tools" Also, as you may have noticed, you can open the html code of a page faster using the keyboard shortcut " Ctrl+Shift+J».

  4. Next, a console with various functions opens in front of us. We need to select the tab " Elements" It is in this menu that there is an editor in which you can change the page code at your discretion.

  5. Find the tag inside that you want to change the code and right-click on it. From the menu, select Edit as HTML.

  6. Now you can edit the page code.

It is also worth knowing that every website is built in the HTML programming language, and if you want to create your own website, you should understand this language. At first glance, this all looks like a continuous and incomprehensible text, but everything here is logical and understandable if you look into it.

How to change the font size and style in contact

Many users who have poor eyesight or simply “clicked something wrong” by mistake and changed the font size in the contact simply cannot use the site normally. For those who regularly wonder how to change the font in a contact, here are some of the simplest ways to solve the problem.

How to increase the font in contact?

To make the font in contact normal for perception, you first need to go to your page, and then immediately go to the “My Settings” item. If you went to the settings panel and at the same time decided to look for a way to delete subscribers, see how to do this in another article on our website. So, back to the font. The page with settings that opens needs to be scrolled to the very bottom: here you will see a window and the inscription next to it “

Use larger fonts." According to all the laws of logic, you need to check this box. That's it: problem solved. Now you can surf your favorite website with the same comfort and without straining your eyes trying to make out tiny inscriptions.

However, this method is not the easiest, because you can change the font in a contact by simply pressing a couple of buttons. These buttons are CTRL and “+”. Alternatively, instead of the “+” button, you can use the mouse wheel.

How to reduce the font in contact?

We have dealt with the increase in tiny letters. But how can you change the font in a contact if it suddenly becomes too large? After all, the buttons

Use smaller fonts”, as you have already noticed, is not in the site settings. Here you need to use the already familiar method with buttons, only, accordingly, hold down “+”, but “-” at the same time as CTRL, or turn the mouse wheel in the other direction.

How to change the font in contact?

Are you happy with the font size, but don't like the style? Then you should try to change the font using your browser settings. Let's look at how to do this using the example of two popular browsers - Opera and Mozilla Firefox.

In Opera, go to the "General Settings" menu, go to "Web Pages" and choose the font style and color that you like. In Mozilla Firefox, go to the following path: Tools - Options - Content.

tvoykompyter.com

On the phone

It is officially impossible to change the code of an element in the Yandex browser on your phone; the only thing you can do is look at the page code. It can be opened by entering the function " view-source: site link " into the query string.

Now you know how to change the html code of a page in the Yandex browser. Open the console in your browser and go to the “Elements” command block, which contains all the information about the site in code.

I would like to immediately explain why you may need to change the source code of the page. Naturally, showing off takes the leading place. Many people like to “measure their pussies.” Or just fake correspondence or something like that for a laugh. Many have seen jokes about VKontakte support agents, so I will teach you how to forge such correspondence on your own. It’s probably not very clear what I’m getting at, so I’ll better show you with an example and screenshots to make it more clear.

How to change the text of a message in VK

Changing a message in VK on your phone is also very simple:

p, blockquote 13,0,0,0,0 –>

p, blockquote 14,0,0,0,0 –>

2. We enter a dialogue with the user.

p, blockquote 15,0,0,0,0 –>

p, blockquote 16,0,0,1,0 –>

3. We touch on your message that needs to be changed.

p, blockquote 17,0,0,0,0 –>

4. Select the item “Edit”.

p, blockquote 18,0,0,0,0 –>

5. Change the text and touch the check mark.

p, blockquote 19,0,0,0,0 –>

p, blockquote 20,0,0,0,0 –>

  • Don't forget that you can only edit your own messages and within 24 hours.
  • If you delete the correspondence, then restoring the message in VK will not be so easy;

Video tutorial on the topic: how to edit messages in VK.

p, blockquote 21,0,0,0,0 –> p, blockquote 22,0,0,0,1 –>

There is an excellent saying that what is sent to VK cannot be changed, and this statement is true. But not completely, you can change, but unfortunately only for you, you can change any user message and change its text to any of your own, but when you refresh the page or forward the message, everything will come back.

Today we will teach you and tell you how to change a message in VK using the element code.

Classes and IDs

In the header code we see

Id here is an identifier.

In another case, if you click on the menu, we will see in the code

There is a menu class, that is, the “menu” class is applied to this element.

This is necessary to make it easier to access site elements to change their style. That is, to decide how to change the title element code, you need to find the id - “site-title” and change it to the desired one.

So, all elements of the site code have their own identifiers or classes.

Important points

To use the VK function correctly, you need to know several important rules:

  1. You cannot edit old sent messages.
  2. You are given only one day after sending to delete and edit.
  3. Both read and unread messages change.
  4. The first version of the edited text is stored by email if the profile is configured for alerts.
  5. You cannot edit other people's messages.
  6. This function is not yet available in the official VK mobile application.
  7. The change mark is visible to the interlocutor in the dialogue.

VK application on smartphone

How to change the code of an element responsible for its color

In the site code, the right column displays rules where you can change the necessary objects. This could be color, font size, etc. Let's say we need to change the color of our header.

In the right column, in the first line we see .art-postheader {

This is the header identifier. Parameters are specified in curly brackets, such as color, font thickness, text underlining, etc.

The color in this case is dark blue, closer to black. By changing the rules, you can change it, for example, to red with the color code - #FF3300, so that the title looks like this

Accordingly, the code will be like this

But on the site, in fact, no changes occur, because the panel with the code is valid and is used only to quickly see what can be changed and how best to do it. You need to edit in the site styles themselves.

To do this, copy .art-postheader, go to the WordPress admin panel, Appearance - Editor, open the style sheet style.css and launch a site search by pressing Ctrl+F.

A search bar opens at the top right, paste the copied code fragment there and it is highlighted in the style sheet, that is, the same rules for the selected heading are highlighted.

We go back to the site page, copy the color we have chosen, go to the editor and paste it in place of the previous one. We update the file. We go to the site, also perform an update and observe that the color of the header has indeed changed.

Similarly, you can change the text boldness, link underlining and other element parameters.

To determine what other rules exist for a particular code element, you can resort to a special service, which is located at htmlbook.ru.

Here you need to enter an HTML tag or CSS property into the search bar and get all the possible rules for it. Any rule can be copied and pasted onto your website.

If you know the old password

If the previous password for your VKontakte account is known, and you have a computer or laptop running Windows at hand, changing the access code to a new one is no more difficult than making a link to a person on VK - just follow a simple algorithm:

  • Go to the vk.com website and log in as usual by entering your username and old password.

  • On the main page of your account, left-click on the mini-avatar located in the upper right corner.

  • And select “Settings” from the drop-down menu.

  • Moving a little to the bottom of the new page, find the “Password” field and click on the “Change” link located to the right of it.

  • In the fields that open, enter sequentially: twice - the old password, and in the lower one - the new one, having previously read the VK recommendations for selecting an access code.

  • By clicking on the “Change Password” button, the VKontakte user, if everything was done correctly, will see a notification on the same page that the changes have taken effect.

  • And in personal messages - a corresponding notice from the VK administration.

You can change the password without a computer on Windows; A phone or tablet with the official social network client installed is enough - the mobile application allows you not only to clear the wall in VK or delete unnecessary audio recordings. The user will need:

  • Log in to your account and tap on the three horizontal lines located in the bottom line.

  • And now - click on the “gear” in the upper right corner of the screen.

  • Select “Account” in the “Settings” menu that opens.

  • And go to the “Change Password” section.

  • In the dialog box, as on a computer, enter your old password twice and the new one once, and then click on the “OK” button.

  • The access code will change in a second or two, and the user will receive and be able to read a new message from the VKontakte administration directly in the mobile application.

Important: you cannot change the password for your VK account through third-party mobile clients, in particular Kate Mobile; Perhaps in the future the developers will add this option, but for now the account owner will have to be content with one of the methods described above.

Changing the background color

How to change the code of the element that is responsible for the background color. To do this, right-click on the background of the site that you want to change and open the element code view.

The block of code responsible for the background is highlighted. The right column shows the rules for the #wrapper identifier.

The background rule, which is responsible for the color, can have many different meanings. To change the color, click on the button square and select the desired color, for example, blue.

Copy the #wrapper identifier, go to the editor, open the style sheet, paste it into the search and find the desired value.

In the same way, copy the background color that you selected and paste it instead of the previous one. We update the file, go to the site, update again and get the desired background.

How to Change a VKontakte Group Entry

Group activity on the VKontakte social network is a way to attract subscribers, advertisers, sponsors, and increase the number of participants. Activity is primarily determined by the number of posts on a wall or in a group. News must be relevant, in demand and interesting, and not contain errors, obscene language, or insults, otherwise there is a risk that your group will be blocked (See Why a Group on VK can be blocked). The presence of false, distorted, or incompletely verified information is also prohibited. You can change the group entry if necessary.

It happens that a user, after publishing a post, finds errors in it. In this case, a frantic search begins for the possibility of changing the group's record. Everything is quite simple. You can make changes to a post or comment by clicking on the “edit” button. You just need to take into account time restrictions. For entries, editing is available for 24 hours. But comments can only be corrected within four hours. If the time frame has been missed, then the post/comment should simply be deleted.

Quick navigation:

Editing a post in a group

When a publication or post has been posted on the community wall, and changes are simply necessary, then the person has 24 hours to do this. You need to move the mouse over the right corner of the publication. An “edit” button will appear there. If there is no such tool, then more than a day has passed since the publication was posted. But when there is such an opportunity, you can make changes to the text, delete a link, picture or video, and tag users. It is necessary to save the adjustments made, otherwise all actions will be useless.

How to change a group entry

In a similar way, you can change any entry in the VK group. The sequence of actions will be similar to editing a post on a wall:

  1. Hover your cursor over the right corner of the post;
  2. See the “edit” button;
  3. Click on it and make the necessary changes.

This procedure can only be done within 24 hours from the date of publication.

Deleting all entries in a group at once

Sometimes you want to delete all posts in a group at once, but deleting them one by one takes a very long time. There is a method for mass deletion of posts, with which you can quickly get rid of old publications (See How to delete all VKontakte posts).

Bottom line

Some users on the forums recommend contacting technical support if editing is unavailable due to time constraints. But the answer to such requests will be the same. If 24 hours have not expired, then everything is possible, but if not, just click on the cross and delete. There is generally little time to correct comments. This means that you should carefully check your own texts and links, paying attention to the nuances.

If more than 24 hours have passed and you do not want to contact those. support, then all that remains is to delete the entry and publish it again with the necessary amendments.

kak-vk.ru

Adding a background image

The background-image rule is responsible for this. On the site, open a view of the code of our background element and in the right column, insert this rule for the site background, put a colon and then you will need a link. Write down the url (““) and write a link to the image in quotes.

To find the link, you can use the usual google.ru image service.

We are looking for something for the site, for example, in the Harmony category.

The search returns a lot of pictures. Again, enter Wallpaper for the site, select the one you need, a larger size, say 1024 × 768.

In the context menu of the image, select Copy image URL. We go to the site and insert quotes into ours. We get a preview of the background.

In the same way, in the editor of the site control panel, insert a link to the image, update the file and the site. We get a website background with a picture.

Rating
( 1 rating, average 5 out of 5 )
Did you like the article? Share with friends: