Can i display blog titles from my blog on another external website using iframe, HTML and CSS

3 weeks ago 17
ARTICLE AD BOX

I am trying to display my blog posts from my website https://www.myblog.com on another website using iframe. Is there a way in which i can retrieve the blog titles of the posts alone from https://www.myblog.com and display it in a box say of width 300px and height 300px in my second website using iframe or html or css only and not by using PHP, Python, Wordpress plugins, Javascript or anything of that kind or by not using any third party sites like rssinclude.com?

I would say that if you are limited to iframes, HTML, and CSS, just create another HTML file with the titles of blog posts in it.

Example:

<a href="blogpost2" target="_blank">BLOG POST (2)</a><br/> <a href="blogpost1" target="_blank">BLOG POST (1)</a>

or an unordered list:

<ul> <li><a href="blogpost2" target="_blank">BLOG POST (2)</a></li> <li><a href="blogpost1" target="_blank">BLOG POST (1)</a></li> </ul>

Using HTML and CSS with an iframe alone to fetch blog post titles is not technically possible, but if you had access to PHP on the website you are trying to put it on, it would be another story.

mplungjan's user avatar

mplungjan

180k29 gold badges183 silver badges246 bronze badges

Palmy-flask's user avatar

New contributor

Palmy-flask is a new contributor to this site. Take care in asking for clarification, commenting, and answering. Check out our Code of Conduct.

2

Read Entire Article