Showing posts with label HTML. Show all posts
Showing posts with label HTML. Show all posts

Sunday, 10 February 2019

Generate HyperLink With Spaces

Generate HyperLink With Spaces

 public ContentResult Test()
 {
    string URL = "<a href=\'http://testdemo.com/?Name=jay&job title=senior manager' target='_blank\'>Test</a>";
    return Content(URL);
 }

OR

 public ContentResult Test()
 {
    string URL = "<a href=\'http://testdemo.com/?Name=jay&job%20title=senior%20 manager' target='_blank\'>Test</a>";
    return Content(URL);
 }


React Hooks - custom Hook

  v CustomHook Ø React allows us to create our own hook which is known as custom hook. Example – 1 localStorage Demo Step-1 Create ...