html - Handling content for Blog - Database -


let's want create blog , going handle text, links, images , on, how save database?

here's random example.

example - text:

hello, blog. check out site! cakes:

  1. cookie
  2. muffin

example - html:

<p>hello, blog.</p> <p>check out <a href="google.com">site</a>!</p> <p>cakes:</p>  <ol>   <li>cookie</li>   <li>muffin</a> </ol> 

would save html database or how should handle this? can't see other way.

yes, save whole html database, images either save link or using server side language save path image , save image in particular folder add path database. example folder named images in root folder of server. save <img src="images/imagename.jpg" alt="image">.


Comments

Popular posts from this blog

javascript - RequestAnimationFrame not working when exiting fullscreen switching space on Safari -

Python ctypes access violation with const pointer arguments -