document.addEventListener('DOMContentLoaded', function() { var link = document.createElement('link'); link.href = 'path/to/font.css'; // Font CSS file path link.rel = 'stylesheet'; document.head.appendChild(link); }); How To Change TitleTag H3 To H1 Skip to main content

How To Change TitleTag H3 To H1

 How To Change Title Tag H3 To H1 In Blogger Post


To change the title tag from <h3> to <h1> in the HTML theme of your Blogger blog, you'll need to access the template editor and modify the HTML code for the blog title. Here's a guide:


Access Blogger Dashboard:


Log in to your Blogger account.

Go to Theme Editor:


From the Dashboard, select the blog you want to edit.

Navigate to the "Theme" section on the left sidebar and click on "Edit HTML."

Press ctrl+f 

Look for the part of the HTML code that represents the title of your blog. It might be enclosed in a <h3> tag.

Change <h3> to <h1>:


Search for post-title entry-title

u will get it 2 places and u have to change both places h3 to h1 opening and closing both tags

Find the Title Tag: first code in theme html It is your second code


It is your first code

<p><h3 class='post-title entry-title'>

              <b:if cond='data:post.link or (data:post.url and data:view.url != data:post.url)'>

                <a expr:href='data:post.link ?: data:post.url'><data:post.title/></a>

              <b:else/>

                <data:post.title/>

              </b:if>

            </h3>This is a simple HTML code</p>


It is your second code


<h3 class='post-title entry-title'>

 <b:if cond='data:post.link or (data:post.url and data:view.url != data:post.url)'>

 <a expr:href='data:post.link ?: data:post.url'><data:post.title/></a>

<b:else/>

 <data:post.title/>

 </b:if>

</h3>


Locate the code related to your blog's title, which might look like <h3>Your Title Here</h3>.


Replace <h3> with <h1> at the beginning and </h3> with </h1> at the end, like this:


From: <h3>Your Title Here</h3>


To: <h1>Your Title Here</h1>


Save Changes:


After making the modification, click on the "Save theme" or "Save" button to apply the changes to your blog's theme.

Preview and Adjust:


Preview your blog to ensure the title now appears in an <h1> tag.

If necessary, adjust the styling in your theme's CSS to accommodate the change and ensure the new <h1> tag looks appropriate within the design.


Comments

Popular posts from this blog