Nowadays, website contents in the internet is not only text and image. Some other types of content have often Embedded in web pages. One of them is .PDF formatted. Website content with pdf formatted commonly used for showcase ebook or other long document.To embed or display file with .pdf formatted, there are 2 simple ways you can used.
<a href="http://localhost/bogor-learning/files/cerita.pdf" target="_blank">Cerita</a>
*the red code is path to your pdf file.
The html code above will link to your pdf file. And if you click that, you will open your pdf file in browser like this :
<embed src="path to your pdf file" type="application/pdf" width="500" height="700"/>
Just place the code above in your post body. you can also set it width and height.
Happy trying. If you have any question, just ask in the comment below.