We’re rewarding the question askers & reputations are being recalculated! Read more.

Questions tagged [html]

HTML (HyperText Markup Language) is the predominant markup language used for creating web pages. In modern web pages, HTML is used to markup the contents of the website, while CSS and Javascript are used to define the styles and behaviors respectively.

Filter by
Sorted by
Tagged with
3
votes
1answer
320 views

Is there any difference in a plain text link on a page, and a hyperlink SEO wise?

So I am making an HTML sitemap for my users, mostly to see how it affects SEO, and to see if it would be beneficial visitor-wise. Is there any difference between the two types of links, and how ...
4
votes
1answer
917 views

How essential is the H1 element for SEO?

I'm rolling out a new webpage, and the logo of the product includes the text of the brand name. Aesthetically, the page would look better with just the logo and subtext, but that would mean omitting ...
0
votes
1answer
60 views

Do <html>, <body> and <head> tags even matter anymore? [closed]

Back in the 90's books would always talk about using body and head tags. Do those tags even matter anymore? I've added scripts and style tags and the browsers accept them without any tags.
2
votes
1answer
208 views

Will text hidden except for screen readers be problematic for search engines?

I'm have an accessibility & SEO problem. I want to display more information and punctuation for the people using a screen reader. Will this code will be understand as duplicate content by Google ...
2
votes
2answers
3k views

Is loading the article content using jQuery & AJAX bad for SEO?

I am loading the content of main article using jQuery . Is it effective for SEO? Is it bad practice? For example I have a page URL example.com/ariticle?seid=14 Here when the page loads, I fetch the ...
1
vote
1answer
303 views

How to remove “X days ago” on WordPress page from Google SERP?

This is a WordPress page (not blog post), how do I remove this "X days ago" text from SERP? I looked for answers on Google and all of them are for blog posts, not pages
1
vote
3answers
2k views

Is a huge style attribute bad for SEO?

I'm working on a website using wordpress. When opening Chrome's console (Ctrl+Maj+I), I couldn't help but notice a HUGE style attribute and tons of scripts directly written into the HTML document. ...
-1
votes
2answers
2k views

PHP website page loading is very slow in localhost [closed]

PHP website pages are taking very long time to load for huge data in localhost(using Xampp). The page loading becomes faster for less data. Could anyone tell why how this can be?
2
votes
1answer
235 views

Remote CDN: Pro's and Cons of grouping CSS and JS

I'd like to know the pros and cons of grouping external CSS and JavaScript files. The grouping method I'm referring to often seen by external libraries providers such as Google fonts and jsDelivr. ...
0
votes
3answers
68 views

Website <head> section questions

I've been doing some tidying up on my site recently and have been making some minor adjustments to the section of each page (primarily to cut out any potential duplication). However, I just have a ...
2
votes
1answer
989 views

Meta-content or time-datetime

How to show datePublished and dateModified Microdata? (I want to prioritize dateModified, this is why I do not show datePublished to the public) Option 1. If I understand this is not correct. Div ...
2
votes
2answers
168 views

SEO: h1 & h2 - what should go into them?

I am still not quite sure today what should I put in H1 and H2 for SEO. For instance, should my site title be H1 and my article title be H2? <head> <title>My First Post - Another ...
1
vote
1answer
1k views

defer img loading / CSP: allow embeded img

My website is defering some img loading by setting the img src value by JavaScript (from the img data-src value). In order to have still valid HTML as long as the URL is not set to img src, I am ...
1
vote
1answer
32 views

Is it good for SEO if I attach a picture on my Tumblr text post using HTML?

I have a Tumblr blog and I'm using a custom domain for the Tumblr blog. For blogging I need to add images in my text blog. If I use <img src... HTML code to attach a picture, will it refer to my ...
1
vote
1answer
283 views

Div changing css style using chrome develop tools not working? [closed]

I'm trying to change the CSS settings of a webpage, so it fits my use. Below, as seen, that extended display a div width of 1200. The HTML code and css looks like The HTML code and css looks like I'...
3
votes
1answer
83 views

Simulation of text-writing, what is the best way for SEO to allow the written text to be crawled?

For a client's website, I made a script that simulates typing and deleting of text. The client can enter the text himself, using [verwijder]-tags (which means 'Delete' in Dutch). See the demo at ...
1
vote
1answer
2k views

Force visitors to get newest versions of resources (bypassing browser cache)

How can I (force) my visitors on my website to clean their cache, and get the new updated content? I find myself sometimes linking progress on some of my projects and sending it to others for feedback,...
1
vote
2answers
106 views

Does using HTML list markup in a blog post have advantages to using a paragraph with a dash at the beginning?

Inside the text of a blog post, I have a paragraph where I highlight some points. It is like a summary. Should I use ul li tags there? What is the best practice? Does it matter? Is there any ...
0
votes
1answer
88 views

Extracting from JSON REST API

I would like to know how to extract particular field of data from the REST API. I would like to get the "bits-per-second-tx" data, only and I have tried http://localhost/net/json?field=bits-per-...
-1
votes
1answer
20 views

RE MEDICAL SEO and web building [closed]

From an SEO Point of view, what is better for a medical or dental website? PHP, HTML or Wordpress and why? My SEO person said php is read better by google bots - Somebody verify....thanks
0
votes
1answer
60 views

Add content to start of all requests

In a .htaccess file or another server configuration file, is there a way to add content to the start of all requests, for example: index.html World! .htaccess or another server configuration file #...
1
vote
1answer
68 views

New domain SEO and default header file

I am migrating to a new domain, the previous domain that I had it was really just used for me to learn how to develop websites, so the traffic, if any, of the old website is not important for me, the ...
1
vote
1answer
1k views

Use robots.txt to prevent privacy policy, terms and conditions, and guarantees from being crawled and indexed by Google

I need to block pages such as privacy policy, terms and conditions, and guarantees from being crawled and indexed by Google. They might be unoriginal. I use them for my multiple websites and they ...
4
votes
2answers
139 views

Duplicate titles being flagged are on pages with different languages

Google Search Console flags duplicate titles for the following pages on my site - they all have the title 'prodname' /de/products/georadar/prodname /es/products/georadar-gpr-radar-de-penetracion-...
3
votes
1answer
658 views

Will Dynamically added alt tag and title tags to image or any tag counted in SEO crawling

In my page I need to add alt tags and Title tags from JavaScript after the DOM is loaded. So I would like to check whether these dynamically added values will be considered during Google SEO audit. ...
1
vote
0answers
215 views

How to fix xml and php live search [closed]

Hi i have been wondering on how to make a live search on my movie website and im trying to do it without a database. So i decided to go with php and xml. These are my code so far. please help me fix ...
1
vote
1answer
214 views

What are the safe web fonts and is there anyway around this problem?

How do you choose a font that will be both aesthetic and browser/OS friendly? I love Helvetica, but a lot of websites say that 90% of Windows users don't have it installed. What are the safe web ...
2
votes
1answer
228 views

Does Change in HTML hide aggregate rating in Google search results?

I have used schemes to show aggregate rating in Google search result: Few days before I changed some minor HTML in the frontend and saw that Google stopped showing the average rating in search ...
8
votes
3answers
1k views

Do characters encoded as HTML entities affect SEO?

We have a website made in asp.net with razor engine. The razor engine encodes the content from source/database. So, for example, the letter ö becomes &#246; if I look at the source code in the ...
1
vote
0answers
57 views

PHP database information in a table that can be displayed on a website [closed]

Hey guys i just want to put the information from the database into a table which i can display on a website but i have no idea how to do it. <?php include 'database_conn.php'; // make db ...
0
votes
2answers
28k views

Include header and footer html files into another html file [ERROR]

I'd like to know how to include my header.html and footer.html in the rest of my html files, so if I had to change something in my header or footer, I would have to do it once and not by editing every ...
1
vote
1answer
199 views

What is the alternative to using a “summary” attribute of an HTML table for screen readers?

Refer to the table attribute summary in MDN Usage Note: Do not use this attribute, as it has been deprecated. Instead, choose one of these methods to add a description of a table: Use prose ...
3
votes
2answers
15k views

Vertically and horizontally align div into parent div [closed]

I'm new in the web development industry and I struggle to vertically and horizontally align a child div in a parent div. I'm trying to build a homepage with a full-width image with a slogan in the ...
1
vote
3answers
2k views

Does target blank on internal links affect Google Analytics and search engines in any way?

We have a news site where many articles have "Read more" links. These internal links are often set with the attribute target="_blank", links opens in a new tab. Does it have any affect on Google ...
3
votes
1answer
427 views

Should the “Website” structured data be used only on the homepage?

I have combined the following json scripts into a single one as I found this should be the best practice: https://developers.google.com/search/docs/data-types/sitename https://developers.google.com/...
2
votes
1answer
402 views

Effects of converting literal ampersand to HTML Entity

I'm working on a site that has main/parent category names which include a literal ampersand & character, such as "Things & Stuff". This has been working fine for many years, even though it ...
4
votes
1answer
240 views

Does hyphenation/syllabication hurt SEO?

I have a header with a long keyword in it, which is ”pre-wrapped” per the designer's wish. Like so: <h1>Prewrapped super- ficial header</h1> The css: h1 { white-space: pre-wrap; } ...
1
vote
1answer
849 views

Link stylesheets up directories using .htaccess [duplicate]

How do I move up a directory using the <link> in HTML for my stylesheets to work while using htaccess? My directories are as: index.php .htaccess css/ styles.css php/ login.php In my ...
2
votes
0answers
31 views

Common header and footer in HTML, should I use JavaScript, PHP or other for SEO? [duplicate]

Firstly, I am aware this question is similar to others asked in the paste, however I'm specifically asking about the reliability of SEO in this question (also many of the other questions are outdated)....
1
vote
1answer
3k views

How to style an svg using external stylesheet? [closed]

I have an SVG file and I want to include it in an HTML page. I want to style it using an external CSS file, but I don't want to include the stylesheet reference in the SVG itself. Is this possible? ...
1
vote
2answers
8k views

How to configure videos from Google Drive embedded on Google Sites to auto-start and loop?

I have studied the methods to embed a video file into a Google site using the Embed Gadget. There is documentation about the case when the video is from YouTube. In this case, in the iframe clause we ...
2
votes
2answers
69 views

Personal page - name with foreign accent

I am writing HTML code for my personal webpage. I used GitHub page to host it. I am French and my firstname Céline contains accents. Assume my surname is Foo. There is two kind of request from the ...
3
votes
1answer
368 views

SEO for importing the page header with JavaScript rather than PHP

My website has the same header/sidebar/footer on every page, so I have been importing them using PHP. To do this I forced all html files to be processed through the apache servers PHP handler via ...
5
votes
6answers
2k views

Is it bad practice to put PHP directives in .html files and have the server interpret them as PHP?

I've been running my company's website, which uses the same header, footer and left column on every page, since late 2014. Because of this I set up the Apache server to interpret HTML documents as if ...
1
vote
3answers
104 views

Will Googlebot take text appearance into account?

The Google bot will rank words by the surrounding tag. A text between h1 tags will have more score than the content of another h{n} element or the p element, of course. However, is the Google bot ...
3
votes
1answer
141 views

Issue with 301 redirect to Index page only

I have a bunch of 301 redirects in my .htaccess for old pages, which work great. But a problem that's been plaguing me for years is that there's a lot of links out there to my old index page (index....
3
votes
1answer
83 views

Only rel=“prev” attribute

At my site I can set only <link rel='prev' /> without next part. Will robots index pages in appropriate way (show first page instead of random page from list) with only prev attr?
3
votes
1answer
39 views

Fixed media player

The following website has a fixed media player at the top of the page. When you click internal links and browse through the site, the audio feed is uninterrupted. http://www.kcrw.com/music/shows/...
-1
votes
1answer
544 views

How to use a canonical link tag in a static page?

What is canonical linking and how can I use it in a static site? How do we use canonical linking? Suppose we have two pages page1.html and page2.html, I want to canonical linking for page2. Where ...
2
votes
2answers
59 views

SEO effects of wrapping thumbnails and titles with one common <a> tag

I've tried searching and read the Questions that may already have your answer list, but couldn't find an answer. This is about a category page that lists products in it, you click one and go to the ...