0

I'm through a Django Girls' tutorial. There is this code (that I think is mistyped):

<a href="<div data-gb-custom-block data-tag="url" data-0='post_draft_list'></div>

" class="top-menu"><span class="glyphicon glyphicon-edit"></span></a>

Regardless of the errors, I'm trying to figure out what this part does:

<div data-gb-custom-block data-tag="url" data-0='post_draft_list'></div>

I searched in the internet, but I didn't find an explanation for it. What are 'data-gb-custom-block', data-tag, and 'data-0'?

Neither Django's documentation nor Mozilla's mention these codes, that I believe is something belonging to HTML.

Ezau
  • 13
  • 4

0 Answers0