“How-to” blog post for assignment?

How to Change the WordPress theme on the website?

Step 1: Log in to WordPress dashboard.

Step 2: Go to the “Appearance” section.

Step 3: Click on “Themes.”

Step 4: Look through the available themes and select one.

Step 5: Click on “Activate” to apply the selected theme.

How to use HTML tags to define content on a blog post?

Step 1: Start by creating a new blog post.

Step 2: Change to the HTML editor mode.

Step 3: Use <p> to begin a new paragraph.

Step 4: Use <strong> to make text bold.

Step 5: Use <em> to italicize text for emphasis.

Step 6: Use <a> to insert hyperlinks.

Step 7: Close each tag properly to display the content.

How to Use Custom CSS?

Step 1: Start by identifying the element to style.

Step 2: Give an ID to the element in HTML code.

Step 3: Open the CSS file.

Step 4: Write the custom CSS to style the element.

Step 5: Save the file and link properly to the HTML document.

Step 6: Preview the changes.

<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>HTML Examples</title>
</head>
<body>
<!-- Creating an Ordered or Unordered List -->
<h2>Ordered List:</h2>
<ol>
    <li>Phone</li>
    <li>Tablet</li>
    <li>Laptop</li>
</ol>

<h2>Unordered List:</h2>
<ul>
    <li>Apple</li>
    <li>Mango</li>
    <li>Grapes</li>
</ul>

<!-- Placing Emphasis -->
<p><em>My assignment in Social Media</em> word.</p>

<!-- Creating h1 and h2 Headings -->
<h1>How to write a blog?</h1>
<h2>Where to find good phones?</h2>
</body>
</html>

How to install Google Analytics in WordPress?

Step 1: Sign in to your Google Analytics account or create one.

Step 2: Once signed in, click on the “Admin” tab at the bottom left.

Step 3: In the “Account” column, select the account you want to use or create a new one.

Step 4: In the “Property” column, select the property for which you want to track data, or create a new property.

Step 5: Under the selected property, click on “Tracking Info” and then “Tracking Code.”

Step 6: Copy the tracking code provided.

Step 7: In your WordPress dashboard, navigate to “Appearance” and then “Theme Editor.”

Step 8: Locate the “header.php” file on the right side of the screen and click on it to open.

Step 9: Paste the Google Analytics tracking code you copied in Step 6 just before the closing </head> tag.

Step 10: Click the “Update File” button to save the changes.

Installed Google Analytics on your WordPress website.

Leave a Reply

Your email address will not be published. Required fields are marked *